From 0f796b922b0ee73296158a9ab8cfe4422459c0bb Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 13 Mar 2018 21:48:08 -0500 Subject: [PATCH] windows.shcore: Stub all the functions in shcore.dll --- basis/windows/shcore/shcore.factor | 91 +++++++++++++++++++++++++++++- 1 file changed, 90 insertions(+), 1 deletion(-) diff --git a/basis/windows/shcore/shcore.factor b/basis/windows/shcore/shcore.factor index 63f58ae5f1..159fdf0522 100644 --- a/basis/windows/shcore/shcore.factor +++ b/basis/windows/shcore/shcore.factor @@ -1,4 +1,4 @@ -! Copyright (C) 2017 Benjamin Pollack. +! Copyright (C) 2017 Benjamin Pollack, Doug Coleman. ! See http://factorcode.org/license.txt for BSD license. USING: alien.syntax windows.types ; IN: windows.shcore @@ -11,4 +11,93 @@ ENUM: MONITOR_DPI_TYPE MDT_RAW_DPI { MDT_DEFAULT 0 } ; +! CommandLineToArgvW +! CreateRandomAccessStreamOnFile +! CreateRandomAccessStreamOverStream +! CreateStreamOverRandomAccessStream +! DllCanUnloadNow +! DllGetActivationFactory +! DllGetClassObject +! GetCurrentProcessExplicitAppUserModelID FUNCTION: HRESULT GetDpiForMonitor ( HMONITOR hMonitor, MONITOR_DPI_TYPE dpiType, UINT* dpiX, UINT *dpiY ) +! GetDpiForShellUIComponent +! GetFeatureEnabledState +! GetFeatureVariant +! GetProcessDpiAwareness +! GetProcessReference +! GetScaleFactorForDevice +! GetScaleFactorForMonitor +! IsOS +! IsProcessInIsolatedContainer +! IStream_Copy +! IStream_Read +! IStream_ReadStr +! IStream_Reset +! IStream_Size +! IStream_Write +! IStream_WriteStr +! IUnknown_AtomicRelease +! IUnknown_GetSite +! IUnknown_QueryService +! IUnknown_Set +! IUnknown_SetSite +! RecordFeatureError +! RecordFeatureUsage +! RegisterScaleChangeEvent +! RegisterScaleChangeNotifications +! RevokeScaleChangeNotifications +! SetCurrentProcessExplicitAppUserModelID +! SetProcessDpiAwareness +! SetProcessReference +! SHAnsiToAnsi +! SHAnsiToUnicode +! SHCopyKeyA +! SHCopyKeyW +! SHCreateMemStream +! SHCreateStreamOnFileA +! SHCreateStreamOnFileEx +! SHCreateStreamOnFileW +! SHCreateThread +! SHCreateThreadRef +! SHCreateThreadWithHandle +! SHDeleteEmptyKeyA +! SHDeleteEmptyKeyW +! SHDeleteKeyA +! SHDeleteKeyW +! SHDeleteValueA +! SHDeleteValueW +! SHEnumKeyExA +! SHEnumKeyExW +! SHEnumValueA +! SHEnumValueW +! SHGetThreadRef +! SHGetValueA +! SHGetValueW +! SHOpenRegStream2A +! SHOpenRegStream2W +! SHOpenRegStreamA +! SHOpenRegStreamW +! SHQueryInfoKeyA +! SHQueryInfoKeyW +! SHQueryValueExA +! SHQueryValueExW +! SHRegDuplicateHKey +! SHRegGetIntW +! SHRegGetPathA +! SHRegGetPathW +! SHRegGetValueA +! SHRegGetValueFromHKCUHKLM +! SHRegGetValueW +! SHRegSetPathA +! SHRegSetPathW +! SHReleaseThreadRef +! SHSetThreadRef +! SHSetValueA +! SHSetValueW +! SHStrDupA +! SHStrDupW +! SHUnicodeToAnsi +! SHUnicodeToUnicode +! SubscribeFeatureStateChangeNotification +! UnregisterScaleChangeEvent +! UnsubscribeFeatureStateChangeNotification