VirtualBox

Changeset 72016 in vbox for trunk


Ignore:
Timestamp:
Apr 25, 2018 1:34:48 PM (7 years ago)
Author:
vboxsync
Message:

UIDesktopWidgetWatchdog.cpp: GetDpiForMonitor uses UINT * rather than uint * as type for the last two parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp

    r72013 r72016  
    6262} MONITOR_DPI_TYPE;
    6363# endif
    64 typedef void (WINAPI *PFN_GetDpiForMonitor)(HMONITOR, MONITOR_DPI_TYPE, uint *, uint *);
     64typedef void (WINAPI *PFN_GetDpiForMonitor)(HMONITOR, MONITOR_DPI_TYPE, UINT *, UINT *);
    6565
    6666/** Set when dynamic API import is reoslved. */
     
    9090    /* Acquire effective DPI (available since Windows 8.1): */
    9191    AssertReturn(g_pfnGetDpiForMonitor, false);
    92     uint uOutX = 0;
    93     uint uOutY = 0;
     92    UINT uOutX = 0;
     93    UINT uOutY = 0;
    9494    g_pfnGetDpiForMonitor(hMonitor, MDT_EFFECTIVE_DPI, &uOutX, &uOutY);
    9595    reinterpret_cast<QList<QPair<int, int> >*>(dwData)->append(qMakePair(uOutX, uOutY));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette