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:
Sebastian Lackner 2018-01-24 01:19:05 -07:00 committed by Alexandre Julliard
parent 4a4bf34f06
commit 6f7532cb7b
3 changed files with 8 additions and 2 deletions

View File

@ -5,5 +5,5 @@
@ stub RegisterScaleChangeEvent
@ stub RegisterScaleChangeNotifications
@ stub RevokeScaleChangeNotifications
@ stub SetProcessDpiAwareness
@ stdcall SetProcessDpiAwareness(long) shcore.SetProcessDpiAwareness
@ stub UnregisterScaleChangeEvent

View File

@ -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;

View File

@ -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