- Timestamp:
- Apr 25, 2018 1:34:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp
r72013 r72016 62 62 } MONITOR_DPI_TYPE; 63 63 # endif 64 typedef void (WINAPI *PFN_GetDpiForMonitor)(HMONITOR, MONITOR_DPI_TYPE, uint *, uint*);64 typedef void (WINAPI *PFN_GetDpiForMonitor)(HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *); 65 65 66 66 /** Set when dynamic API import is reoslved. */ … … 90 90 /* Acquire effective DPI (available since Windows 8.1): */ 91 91 AssertReturn(g_pfnGetDpiForMonitor, false); 92 uintuOutX = 0;93 uintuOutY = 0;92 UINT uOutX = 0; 93 UINT uOutY = 0; 94 94 g_pfnGetDpiForMonitor(hMonitor, MDT_EFFECTIVE_DPI, &uOutX, &uOutY); 95 95 reinterpret_cast<QList<QPair<int, int> >*>(dwData)->append(qMakePair(uOutX, uOutY));
Note:
See TracChangeset
for help on using the changeset viewer.