Changeset 46196 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- May 21, 2013 5:06:17 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85913
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp
r45902 r46196 127 127 /*static int vboxTrayGlMsgShowBalloonMsg(WPARAM lParam, LPARAM wParam);*/ 128 128 129 static int VBoxAcquireGuestCaps(uint32_t fOr, uint32_t fNot, bool fCfg); 129 130 130 131 /******************************************************************************* … … 845 846 } 846 847 848 rc = VBoxAcquireGuestCaps(VMMDEV_GUEST_SUPPORTS_SEAMLESS | VMMDEV_GUEST_SUPPORTS_GRAPHICS, 0, true); 849 if (!RT_SUCCESS(rc)) 850 { 851 WARN(("VBoxAcquireGuestCaps cfg failed rc %d, ignoring..\n", rc)); 852 } 853 847 854 rc = vboxTraySetupSeamless(); 848 855 if (RT_SUCCESS(rc)) … … 1426 1433 * otherwise Acquisition mechanism will treat us as different client and will not propagate necessary requests 1427 1434 * */ 1428 static int VBoxAcquireGuestCaps(uint32_t fOr, uint32_t fNot )1435 static int VBoxAcquireGuestCaps(uint32_t fOr, uint32_t fNot, bool fCfg) 1429 1436 { 1430 1437 DWORD cbReturned = 0; 1431 1438 VBoxGuestCapsAquire Info; 1439 Info.enmFlags = fCfg ? VBOXGUESTCAPSACQUIRE_FLAGS_CONFIG_ACQUIRE_MODE : VBOXGUESTCAPSACQUIRE_FLAGS_NONE; 1432 1440 Info.rc = VERR_NOT_IMPLEMENTED; 1433 1441 Info.u32OrMask = fOr; … … 1571 1579 { 1572 1580 VBOXCAPS *pConsole = &gVBoxCaps; 1573 int rc = VBoxAcquireGuestCaps(0, VMMDEV_GUEST_SUPPORTS_SEAMLESS | VMMDEV_GUEST_SUPPORTS_GRAPHICS );1581 int rc = VBoxAcquireGuestCaps(0, VMMDEV_GUEST_SUPPORTS_SEAMLESS | VMMDEV_GUEST_SUPPORTS_GRAPHICS, false); 1574 1582 if (!RT_SUCCESS(rc)) 1575 1583 { … … 1627 1635 continue; 1628 1636 1629 int rc = VBoxAcquireGuestCaps(pCap->fCap, 0 );1637 int rc = VBoxAcquireGuestCaps(pCap->fCap, 0, false); 1630 1638 if (RT_SUCCESS(rc)) 1631 1639 { … … 1662 1670 if (pCap->enmAcState == VBOXCAPS_ENTRY_ACSTATE_ACQUIRED) 1663 1671 { 1664 int rc = VBoxAcquireGuestCaps(0, pCap->fCap );1672 int rc = VBoxAcquireGuestCaps(0, pCap->fCap, false); 1665 1673 AssertRC(rc); 1666 1674 } … … 1683 1691 1684 1692 vboxCapsEntryAcStateSet(pCap, VBOXCAPS_ENTRY_ACSTATE_ACQUIRING); 1685 int rc = VBoxAcquireGuestCaps(pCap->fCap, 0 );1693 int rc = VBoxAcquireGuestCaps(pCap->fCap, 0, false); 1686 1694 if (RT_SUCCESS(rc)) 1687 1695 {
Note:
See TracChangeset
for help on using the changeset viewer.