Changeset 31219 in vbox for trunk/src/VBox/Main/GuestImpl.cpp
- Timestamp:
- Jul 29, 2010 3:16:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r31217 r31219 176 176 } 177 177 178 STDMETHODIMP Guest::COMGETTER(Additions InterfaceVersion) (BSTR *aVersion)179 { 180 CheckComArgOutPointerValid(a Version);178 STDMETHODIMP Guest::COMGETTER(AdditionsVersion) (BSTR *aAdditionsVersion) 179 { 180 CheckComArgOutPointerValid(aAdditionsVersion); 181 181 182 182 AutoCaller autoCaller(this); … … 185 185 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 186 186 187 mData.mInterfaceVersion.cloneTo(aVersion); 188 189 return S_OK; 190 } 191 192 STDMETHODIMP Guest::COMGETTER(AdditionsVBoxVersion) (BSTR *aVersion) 193 { 194 CheckComArgOutPointerValid(aVersion); 195 196 AutoCaller autoCaller(this); 197 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 198 199 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 200 201 mData.mAdditionsVersion.cloneTo(aVersion); 187 mData.mAdditionsVersion.cloneTo(aAdditionsVersion); 202 188 203 189 return S_OK; … … 1457 1443 * API version and OS type. 1458 1444 * 1459 * @param a InterfaceVersion1445 * @param aVersion 1460 1446 * @param aOsType 1461 1447 */ 1462 void Guest::setAdditionsInfo(Bstr a InterfaceVersion, VBOXOSTYPE aOsType)1448 void Guest::setAdditionsInfo(Bstr aVersion, VBOXOSTYPE aOsType) 1463 1449 { 1464 1450 AutoCaller autoCaller(this); … … 1471 1457 * Note that this is *not* the actual Guest Additions version and may differ! 1472 1458 */ 1473 mData.m InterfaceVersion = aInterfaceVersion;1459 mData.mAdditionsVersion = aVersion; 1474 1460 /* 1475 1461 * Older Additions rely on the Additions API version whether they … … 1477 1463 * this immediately. 1478 1464 */ 1479 mData.mAdditionsActive = !a InterfaceVersion.isEmpty();1465 mData.mAdditionsActive = !aVersion.isEmpty(); 1480 1466 /* 1481 1467 * Older Additions didn't have this finer grained capability bit, … … 1501 1487 * @param ulFlags 1502 1488 */ 1503 void Guest::setAdditionsStatus (VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags)1489 void Guest::setAdditionsStatus (VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags) 1504 1490 { 1505 1491 AutoCaller autoCaller(this); … … 1521 1507 * @param ulActive 1522 1508 */ 1523 void Guest::setSupportedFeatures (ULONG64 ulCaps, ULONG64 ulActive)1509 void Guest::setSupportedFeatures (ULONG64 ulCaps, ULONG64 ulActive) 1524 1510 { 1525 1511 AutoCaller autoCaller(this);
Note:
See TracChangeset
for help on using the changeset viewer.