VirtualBox

Changeset 53849 in vbox


Ignore:
Timestamp:
Jan 16, 2015 9:34:59 AM (10 years ago)
Author:
vboxsync
Message:

Attempt to fix Windows burns.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r53847 r53849  
    170170    void i_handleCrVRecScreenshotEnd(uint32_t uScreen, uint64_t u64TimeStamp);
    171171    void i_handleVRecCompletion();
    172     HRESULT notifyScaleFactorChange(uint32_t uScreen, uint32_t u32ScaleFactorWMultiplied, uint32_t u32ScaleFactorHMultiplied);
     172    HRESULT notifyScaleFactorChange(ULONG uScreen, ULONG u32ScaleFactorWMultiplied, ULONG u32ScaleFactorHMultiplied);
    173173#endif
    174174
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r53847 r53849  
    34003400}
    34013401
    3402 HRESULT Display::notifyScaleFactorChange(uint32_t uScreen, uint32_t u32ScaleFactorWMultiplied, uint32_t u32ScaleFactorHMultiplied)
     3402HRESULT Display::notifyScaleFactorChange(ULONG uScreen, ULONG u32ScaleFactorWMultiplied, ULONG u32ScaleFactorHMultiplied)
    34033403{
    34043404#if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
     
    34243424                    int rc;
    34253425
    3426                     pData->u32Screen                 = uScreen;
    3427                     pData->u32ScaleFactorWMultiplied = u32ScaleFactorWMultiplied;
    3428                     pData->u32ScaleFactorHMultiplied = u32ScaleFactorHMultiplied;
     3426                    pData->u32Screen                 = (uint32_t)uScreen;
     3427                    pData->u32ScaleFactorWMultiplied = (uint32_t)u32ScaleFactorWMultiplied;
     3428                    pData->u32ScaleFactorHMultiplied = (uint32_t)u32ScaleFactorHMultiplied;
    34293429
    34303430                    pCtl->Hdr.enmType              = VBOXCRCMDCTL_TYPE_HGCM;
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