1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

shcore: Add stub for RegisterScaleChangeNotifications.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56244
This commit is contained in:
Louis Lenders 2024-02-01 21:15:39 +01:00 committed by Alexandre Julliard
parent 68ab4c4849
commit c3918f2a82
3 changed files with 14 additions and 1 deletions

View File

@ -2531,6 +2531,18 @@ HRESULT WINAPI RegisterScaleChangeEvent(HANDLE handle, DWORD_PTR *cookie)
return E_NOTIMPL;
}
/*************************************************************************
* RegisterScaleChangeNotifications [SHCORE.@]
*/
HRESULT WINAPI RegisterScaleChangeNotifications(DISPLAY_DEVICE_TYPE display_device, HWND hwnd, UINT msg, DWORD *cookie)
{
FIXME("(%d, %p, %u, %p) stub\n", display_device, hwnd, msg, cookie);
if (cookie) *cookie = 0;
return E_NOTIMPL;
}
/*************************************************************************
* CreateRandomAccessStreamOverStream [SHCORE.@]
*/

View File

@ -33,7 +33,7 @@
# @ stub RecordFeatureError
# @ stub RecordFeatureUsage
@ stdcall RegisterScaleChangeEvent(ptr ptr)
@ stub RegisterScaleChangeNotifications
@ stdcall RegisterScaleChangeNotifications(long ptr long ptr)
@ stub RevokeScaleChangeNotifications
@ stdcall SHAnsiToAnsi(str ptr long)
@ stdcall SHAnsiToUnicode(str ptr long)

View File

@ -46,6 +46,7 @@ HRESULT WINAPI GetDpiForMonitor(HMONITOR,MONITOR_DPI_TYPE,UINT*,UINT*);
HRESULT WINAPI GetProcessDpiAwareness(HANDLE,PROCESS_DPI_AWARENESS*);
DEVICE_SCALE_FACTOR WINAPI GetScaleFactorForDevice(DISPLAY_DEVICE_TYPE device_type);
HRESULT WINAPI GetScaleFactorForMonitor(HMONITOR,DEVICE_SCALE_FACTOR*);
HRESULT WINAPI RegisterScaleChangeNotifications(DISPLAY_DEVICE_TYPE,HWND,UINT,DWORD*);
HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS);
#endif /* __WINE_SHELLSCALINGAPI_H */