shcore: Add SetProcessDpiAwareness stub.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4a4bf34f06
commit
6f7532cb7b
|
@ -5,5 +5,5 @@
|
|||
@ stub RegisterScaleChangeEvent
|
||||
@ stub RegisterScaleChangeNotifications
|
||||
@ stub RevokeScaleChangeNotifications
|
||||
@ stub SetProcessDpiAwareness
|
||||
@ stdcall SetProcessDpiAwareness(long) shcore.SetProcessDpiAwareness
|
||||
@ stub UnregisterScaleChangeEvent
|
||||
|
|
|
@ -51,6 +51,12 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT WINAPI SetProcessDpiAwareness(PROCESS_DPI_AWARENESS value)
|
||||
{
|
||||
FIXME("(%u): stub\n", value);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI GetDpiForMonitor(HMONITOR monitor, MONITOR_DPI_TYPE type, UINT *x, UINT *y)
|
||||
{
|
||||
HDC hDC;
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
@ stdcall SHUnicodeToAnsi(wstr ptr ptr) shlwapi.SHUnicodeToAnsi
|
||||
@ stdcall SHUnicodeToUnicode(wstr ptr long) shlwapi.SHUnicodeToUnicode
|
||||
@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr) shell32.SetCurrentProcessExplicitAppUserModelID
|
||||
@ stub SetProcessDpiAwareness
|
||||
@ stdcall SetProcessDpiAwareness(long)
|
||||
@ stub SetProcessReference
|
||||
@ stub UnregisterScaleChangeEvent
|
||||
|
||||
|
|
Loading…
Reference in New Issue