user32: Add a stub for GetDpiForWindow().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-03-29 15:01:22 +02:00
parent ca878114cb
commit 79916de397
3 changed files with 11 additions and 0 deletions

View file

@ -2955,6 +2955,15 @@ UINT WINAPI GetDpiForSystem(void)
return display_dpi;
}
/***********************************************************************
* GetDpiForWindow (USER32.@)
*/
UINT WINAPI GetDpiForWindow( HWND hwnd )
{
FIXME( "stub: %p\n", hwnd );
return GetDpiForSystem();
}
/**********************************************************************
* SetThreadDpiAwarenessContext (USER32.@)
*/

View file

@ -293,6 +293,7 @@
@ stdcall GetDlgItemTextW(long long ptr long)
@ stdcall GetDoubleClickTime()
@ stdcall GetDpiForSystem()
@ stdcall GetDpiForWindow(long)
@ stdcall GetFocus()
@ stdcall GetForegroundWindow()
@ stdcall GetGestureConfig(long long long ptr ptr long)

View file

@ -3675,6 +3675,7 @@ WINUSERAPI UINT WINAPI GetDlgItemTextA(HWND,INT,LPSTR,INT);
WINUSERAPI UINT WINAPI GetDlgItemTextW(HWND,INT,LPWSTR,INT);
#define GetDlgItemText WINELIB_NAME_AW(GetDlgItemText)
WINUSERAPI UINT WINAPI GetDoubleClickTime(void);
WINUSERAPI UINT WINAPI GetDpiForWindow(HWND);
WINUSERAPI UINT WINAPI GetDpiForSystem(void);
WINUSERAPI HWND WINAPI GetFocus(void);
WINUSERAPI HWND WINAPI GetForegroundWindow(void);