From: Fabian Maurer dark.shadow4@web.de
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55847 --- dlls/user32/sysparams.c | 11 ++++++++++- dlls/user32/user32.spec | 1 + 2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index 58a6b8b8293..f1bceef0241 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -751,7 +751,16 @@ DPI_AWARENESS_CONTEXT WINAPI SetThreadDpiAwarenessContext( DPI_AWARENESS_CONTEXT */ DPI_HOSTING_BEHAVIOR WINAPI SetThreadDpiHostingBehavior(DPI_HOSTING_BEHAVIOR value) { - FIXME("(%ul): stub\n", value); + FIXME("(%d): stub\n", value); + return DPI_HOSTING_BEHAVIOR_DEFAULT; +} + +/********************************************************************** + * GetWindowDpiHostingBehavior (USER32.@) + */ +DPI_HOSTING_BEHAVIOR WINAPI GetWindowDpiHostingBehavior(HWND hwnd) +{ + FIXME("(%p): stub\n", hwnd); return DPI_HOSTING_BEHAVIOR_DEFAULT; }
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index fc4441bdec8..c8d11e1c442 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -410,6 +410,7 @@ @ stdcall GetWindowDC(long) NtUserGetWindowDC @ stdcall GetWindowDisplayAffinity(long ptr) @ stdcall GetWindowDpiAwarenessContext(long) +@ stdcall GetWindowDpiHostingBehavior(long) @ stdcall GetWindowInfo(long ptr) @ stdcall GetWindowLongA(long long) @ stdcall -arch=win64 GetWindowLongPtrA(long long)