Commit 6f7532cb authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

shcore: Add SetProcessDpiAwareness stub.

parent 4a4bf34f
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
@ stub RegisterScaleChangeEvent @ stub RegisterScaleChangeEvent
@ stub RegisterScaleChangeNotifications @ stub RegisterScaleChangeNotifications
@ stub RevokeScaleChangeNotifications @ stub RevokeScaleChangeNotifications
@ stub SetProcessDpiAwareness @ stdcall SetProcessDpiAwareness(long) shcore.SetProcessDpiAwareness
@ stub UnregisterScaleChangeEvent @ stub UnregisterScaleChangeEvent
...@@ -51,6 +51,12 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val ...@@ -51,6 +51,12 @@ HRESULT WINAPI GetProcessDpiAwareness(HANDLE process, PROCESS_DPI_AWARENESS *val
return S_OK; 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) HRESULT WINAPI GetDpiForMonitor(HMONITOR monitor, MONITOR_DPI_TYPE type, UINT *x, UINT *y)
{ {
HDC hDC; HDC hDC;
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
@ stdcall SHUnicodeToAnsi(wstr ptr ptr) shlwapi.SHUnicodeToAnsi @ stdcall SHUnicodeToAnsi(wstr ptr ptr) shlwapi.SHUnicodeToAnsi
@ stdcall SHUnicodeToUnicode(wstr ptr long) shlwapi.SHUnicodeToUnicode @ stdcall SHUnicodeToUnicode(wstr ptr long) shlwapi.SHUnicodeToUnicode
@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr) shell32.SetCurrentProcessExplicitAppUserModelID @ stdcall SetCurrentProcessExplicitAppUserModelID(wstr) shell32.SetCurrentProcessExplicitAppUserModelID
@ stub SetProcessDpiAwareness @ stdcall SetProcessDpiAwareness(long)
@ stub SetProcessReference @ stub SetProcessReference
@ stub UnregisterScaleChangeEvent @ stub UnregisterScaleChangeEvent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment