user32: Implement AreDpiAwarenessContextsEqual().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-03-30 12:37:05 +02:00
parent d17ca871dd
commit ff7961e152
3 changed files with 11 additions and 0 deletions

View file

@ -2942,6 +2942,15 @@ BOOL WINAPI EnumDisplaySettingsExW(LPCWSTR lpszDeviceName, DWORD iModeNum,
return USER_Driver->pEnumDisplaySettingsEx(lpszDeviceName, iModeNum, lpDevMode, dwFlags);
}
/***********************************************************************
* AreDpiAwarenessContextsEqual (USER32.@)
*/
BOOL WINAPI AreDpiAwarenessContextsEqual( DPI_AWARENESS_CONTEXT ctx1, DPI_AWARENESS_CONTEXT ctx2 )
{
if (!IsValidDpiAwarenessContext( ctx1 )) return FALSE;
return ctx1 == ctx2;
}
/***********************************************************************
* GetAwarenessFromDpiAwarenessContext (USER32.@)
*/

View file

@ -9,6 +9,7 @@
@ stdcall AnyPopup()
@ stdcall AppendMenuA(long long long ptr)
@ stdcall AppendMenuW(long long long ptr)
@ stdcall AreDpiAwarenessContextsEqual(long long)
@ stdcall ArrangeIconicWindows(long)
@ stdcall AttachThreadInput(long long long)
@ stdcall BeginDeferWindowPos(long)

View file

@ -3393,6 +3393,7 @@ WINUSERAPI BOOL WINAPI AnyPopup(void);
WINUSERAPI BOOL WINAPI AppendMenuA(HMENU,UINT,UINT_PTR,LPCSTR);
WINUSERAPI BOOL WINAPI AppendMenuW(HMENU,UINT,UINT_PTR,LPCWSTR);
#define AppendMenu WINELIB_NAME_AW(AppendMenu)
WINUSERAPI BOOL WINAPI AreDpiAwarenessContextsEqual(DPI_AWARENESS_CONTEXT,DPI_AWARENESS_CONTEXT);
WINUSERAPI UINT WINAPI ArrangeIconicWindows(HWND);
WINUSERAPI BOOL WINAPI AttachThreadInput(DWORD,DWORD,BOOL);
WINUSERAPI HDWP WINAPI BeginDeferWindowPos(INT);