user32: Add EnableNonClientDpiScaling stub.

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2020-02-19 16:27:21 +01:00 committed by Alexandre Julliard
parent d480436d9a
commit 9bd51fff5d
3 changed files with 12 additions and 0 deletions

View File

@ -3664,6 +3664,16 @@ BOOL WINAPI IsProcessDPIAware(void)
return GetAwarenessFromDpiAwarenessContext( GetThreadDpiAwarenessContext() ) != DPI_AWARENESS_UNAWARE;
}
/**********************************************************************
* EnableNonClientDpiScaling (USER32.@)
*/
BOOL WINAPI EnableNonClientDpiScaling( HWND hwnd )
{
FIXME("(%p): stub\n", hwnd);
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/***********************************************************************
* GetDpiForSystem (USER32.@)
*/

View File

@ -205,6 +205,7 @@
@ stdcall EmptyClipboard()
@ stdcall EnableMenuItem(long long long)
@ stdcall EnableMouseInPointer(long)
@ stdcall EnableNonClientDpiScaling(long)
@ stdcall EnableScrollBar(long long long)
@ stdcall EnableWindow(long long)
@ stdcall EndDeferWindowPos(long)

View File

@ -3702,6 +3702,7 @@ WINUSERAPI INT WINAPI DrawTextExW(HDC,LPWSTR,INT,LPRECT,UINT,LPDRAWTEXTP
WINUSERAPI BOOL WINAPI EmptyClipboard(void);
WINUSERAPI BOOL WINAPI EnableMenuItem(HMENU,UINT,UINT);
WINUSERAPI BOOL WINAPI EnableMouseInPointer(BOOL);
WINUSERAPI BOOL WINAPI EnableNonClientDpiScaling(HWND);
WINUSERAPI BOOL WINAPI EnableScrollBar(HWND,UINT,UINT);
WINUSERAPI BOOL WINAPI EnableWindow(HWND,BOOL);
WINUSERAPI BOOL WINAPI EndDeferWindowPos(HDWP);