mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 16:23:37 +00:00
user32: Implement AreDpiAwarenessContextsEqual().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d17ca871dd
commit
ff7961e152
|
@ -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.@)
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue