user32: Add stub for SetThreadDpiAwarenessContext.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2018-03-26 19:27:08 +02:00 committed by Alexandre Julliard
parent 0ca7c5c4e2
commit 40b46d900a
4 changed files with 12 additions and 0 deletions

View File

@ -2963,6 +2963,15 @@ BOOL WINAPI IsProcessDPIAware(void)
return TRUE; return TRUE;
} }
/**********************************************************************
* SetThreadDpiAwarenessContext (USER32.@)
*/
DPI_AWARENESS_CONTEXT WINAPI SetThreadDpiAwarenessContext( DPI_AWARENESS_CONTEXT context )
{
FIXME("(%p): stub\n", context);
return NULL;
}
/********************************************************************** /**********************************************************************
* GetAutoRotationState [USER32.@] * GetAutoRotationState [USER32.@]
*/ */

View File

@ -686,6 +686,7 @@
@ stdcall SetSystemTimer(long long long ptr) @ stdcall SetSystemTimer(long long long ptr)
@ stdcall SetTaskmanWindow (long) @ stdcall SetTaskmanWindow (long)
@ stdcall SetThreadDesktop(long) @ stdcall SetThreadDesktop(long)
@ stdcall SetThreadDpiAwarenessContext(ptr)
@ stdcall SetTimer(long long long ptr) @ stdcall SetTimer(long long long ptr)
@ stdcall SetUserObjectInformationA(long long ptr long) @ stdcall SetUserObjectInformationA(long long ptr long)
@ stdcall SetUserObjectInformationW(long long ptr long) @ stdcall SetUserObjectInformationW(long long ptr long)

View File

@ -289,6 +289,7 @@ typedef DWORD COLORREF, *LPCOLORREF;
/* Handle types */ /* Handle types */
typedef int HFILE; typedef int HFILE;
DECLARE_HANDLE(DPI_AWARENESS_CONTEXT);
DECLARE_HANDLE(HACCEL); DECLARE_HANDLE(HACCEL);
DECLARE_HANDLE(HBITMAP); DECLARE_HANDLE(HBITMAP);
DECLARE_HANDLE(HBRUSH); DECLARE_HANDLE(HBRUSH);

View File

@ -4071,6 +4071,7 @@ WINUSERAPI BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
WINUSERAPI BOOL WINAPI SetSystemMenu(HWND,HMENU); WINUSERAPI BOOL WINAPI SetSystemMenu(HWND,HMENU);
WINUSERAPI UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC); WINUSERAPI UINT_PTR WINAPI SetSystemTimer(HWND,UINT_PTR,UINT,TIMERPROC);
WINUSERAPI BOOL WINAPI SetThreadDesktop(HDESK); WINUSERAPI BOOL WINAPI SetThreadDesktop(HDESK);
WINUSERAPI DPI_AWARENESS_CONTEXT WINAPI SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT);
WINUSERAPI UINT_PTR WINAPI SetTimer(HWND,UINT_PTR,UINT,TIMERPROC); WINUSERAPI UINT_PTR WINAPI SetTimer(HWND,UINT_PTR,UINT,TIMERPROC);
WINUSERAPI BOOL WINAPI SetUserObjectInformationA(HANDLE,INT,LPVOID,DWORD); WINUSERAPI BOOL WINAPI SetUserObjectInformationA(HANDLE,INT,LPVOID,DWORD);
WINUSERAPI BOOL WINAPI SetUserObjectInformationW(HANDLE,INT,LPVOID,DWORD); WINUSERAPI BOOL WINAPI SetUserObjectInformationW(HANDLE,INT,LPVOID,DWORD);