Most of the Windows 8.1 high-DPI API is in shellscalingapi.h, but there are some winuser.h changes as well.
Signed-off-by: James Ross-Gowan <[email protected]> --- mingw-w64-headers/include/winuser.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mingw-w64-headers/include/winuser.h b/mingw-w64-headers/include/winuser.h index 0faee128..505a8847 100644 --- a/mingw-w64-headers/include/winuser.h +++ b/mingw-w64-headers/include/winuser.h @@ -1330,6 +1330,9 @@ extern "C" { #define WM_WTSSESSION_CHANGE 0x02B1 #define WM_TABLET_FIRST 0x02c0 #define WM_TABLET_LAST 0x02df +#if WINVER >= 0x0601 +#define WM_DPICHANGED 0x02e0 +#endif #define WM_CUT 0x0300 #define WM_COPY 0x0301 #define WM_PASTE 0x0302 @@ -3634,6 +3637,10 @@ extern "C" { WINUSERAPI WINBOOL WINAPI PhysicalToLogicalPoint (HWND hWnd, LPPOINT lpPoint); WINUSERAPI HWND WINAPI WindowFromPhysicalPoint (POINT Point); #endif +#if WINVER >= 0x0603 + WINUSERAPI WINBOOL WINAPI LogicalToPhysicalPointForPerMonitorDPI (HWND hwnd, LPPOINT lpPoint); + WINUSERAPI WINBOOL WINAPI PhysicalToLogicalPointForPerMonitorDPI (HWND hwnd, LPPOINT lpPoint); +#endif #endif #define CWP_ALL 0x0000 -- 2.16.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
