Changeset 31745 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 18, 2010 9:44:22 AM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r31698 r31745 1555 1555 * Sets the supported features (and whether they are active or not). 1556 1556 * 1557 * @param ulCaps 1558 * @param ulActive 1557 * @param fCaps Guest capability bit mask (VMMDEV_GUEST_SUPPORTS_XXX). 1558 * @param fActive No idea what this is supposed to be, it's always 0 and 1559 * not references by this method. 1559 1560 */ 1560 void Guest::setSupportedFeatures( LONG64 ulCaps, LONG64 ulActive)1561 void Guest::setSupportedFeatures(uint32_t fCaps, uint32_t fActive) 1561 1562 { 1562 1563 AutoCaller autoCaller(this); … … 1565 1566 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1566 1567 1567 mData.mSupportsSeamless = ( ulCaps & VMMDEV_GUEST_SUPPORTS_SEAMLESS);1568 mData.mSupportsSeamless = (fCaps & VMMDEV_GUEST_SUPPORTS_SEAMLESS); 1568 1569 /** @todo Add VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING */ 1569 mData.mSupportsGraphics = ( ulCaps & VMMDEV_GUEST_SUPPORTS_GRAPHICS);1570 mData.mSupportsGraphics = (fCaps & VMMDEV_GUEST_SUPPORTS_GRAPHICS); 1570 1571 } 1571 1572 /* vi: set tabstop=4 shiftwidth=4 expandtab: */ -
trunk/src/VBox/Main/VMMDevInterface.cpp
r31692 r31745 300 300 * Report our current capabilites (and assume none is active yet). 301 301 */ 302 guest->setSupportedFeatures( (ULONG64)newCapabilities, 0 /* Active capabilities, not used here. */);302 guest->setSupportedFeatures(newCapabilities, 0 /* Active capabilities, not used here. */); 303 303 304 304 /* -
trunk/src/VBox/Main/include/GuestImpl.h
r31698 r31745 110 110 void setAdditionsInfo2(Bstr aAdditionsVersion, Bstr aVersionName, Bstr aRevision); 111 111 void setAdditionsStatus(VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags); 112 void setSupportedFeatures( LONG64 ulCaps, LONG64 ulActive);112 void setSupportedFeatures(uint32_t fCaps, uint32_t fActive); 113 113 HRESULT setStatistic(ULONG aCpuId, GUESTSTATTYPE enmType, ULONG aVal); 114 114 BOOL isPageFusionEnabled();
Note:
See TracChangeset
for help on using the changeset viewer.