Huw Davies : include: Add {Is,Set}ProcessDPIAware().

Alexandre Julliard julliard at winehq.org
Tue Apr 11 15:31:03 CDT 2017


Module: wine
Branch: master
Commit: 9b9316cfb270856146c5c535ee919836a593be89
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9b9316cfb270856146c5c535ee919836a593be89

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Apr 11 14:08:50 2017 +0100

include: Add {Is,Set}ProcessDPIAware().

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/winuser.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/winuser.h b/include/winuser.h
index 2b8331c..25fc207 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -3282,6 +3282,8 @@ typedef struct tagCHANGEFILTERSTRUCT
 #define  MSGFLT_ALLOW    1
 #define  MSGFLT_DISALLOW 2
 
+#define USER_DEFAULT_SCREEN_DPI 96
+
 #if defined(_WINGDI_) && !defined(NOGDI)
 WINUSERAPI LONG        WINAPI ChangeDisplaySettingsA(LPDEVMODEA,DWORD);
 WINUSERAPI LONG        WINAPI ChangeDisplaySettingsW(LPDEVMODEW,DWORD);
@@ -3772,6 +3774,7 @@ WINUSERAPI BOOL        WINAPI IsGUIThread(BOOL);
 WINUSERAPI BOOL        WINAPI IsHungAppWindow(HWND);
 WINUSERAPI BOOL        WINAPI IsIconic(HWND);
 WINUSERAPI BOOL        WINAPI IsMenu(HMENU);
+WINUSERAPI BOOL        WINAPI IsProcessDPIAware(void);
 WINUSERAPI BOOL        WINAPI IsTouchWindow(HWND,PULONG);
 WINUSERAPI BOOL        WINAPI IsWinEventHookInstalled(DWORD);
 WINUSERAPI BOOL        WINAPI IsWindow(HWND);
@@ -3976,9 +3979,10 @@ WINUSERAPI BOOL        WINAPI SetMenuItemInfoW(HMENU,UINT,BOOL,const MENUITEMINF
 #define                       SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo)
 WINUSERAPI LPARAM      WINAPI SetMessageExtraInfo(LPARAM);
 WINUSERAPI BOOL        WINAPI SetMessageQueue(INT);
+WINUSERAPI HWND        WINAPI SetParent(HWND,HWND);
+WINUSERAPI BOOL        WINAPI SetProcessDPIAware(void);
 WINUSERAPI BOOL        WINAPI SetProcessDefaultLayout(DWORD);
 WINUSERAPI BOOL        WINAPI SetProcessWindowStation(HWINSTA);
-WINUSERAPI HWND        WINAPI SetParent(HWND,HWND);
 WINUSERAPI BOOL        WINAPI SetPropA(HWND,LPCSTR,HANDLE);
 WINUSERAPI BOOL        WINAPI SetPropW(HWND,LPCWSTR,HANDLE);
 #define                       SetProp WINELIB_NAME_AW(SetProp)




More information about the wine-cvs mailing list