VirtualBox

Ignore:
Timestamp:
Jul 29, 2010 3:16:51 PM (14 years ago)
Author:
vboxsync
Message:

Backed out r64225 for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r31217 r31219  
    176176}
    177177
    178 STDMETHODIMP Guest::COMGETTER(AdditionsInterfaceVersion) (BSTR *aVersion)
    179 {
    180     CheckComArgOutPointerValid(aVersion);
     178STDMETHODIMP Guest::COMGETTER(AdditionsVersion) (BSTR *aAdditionsVersion)
     179{
     180    CheckComArgOutPointerValid(aAdditionsVersion);
    181181
    182182    AutoCaller autoCaller(this);
     
    185185    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    186186
    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);
    202188
    203189    return S_OK;
     
    14571443 * API version and OS type.
    14581444 *
    1459  * @param aInterfaceVersion
     1445 * @param aVersion
    14601446 * @param aOsType
    14611447 */
    1462 void Guest::setAdditionsInfo(Bstr aInterfaceVersion, VBOXOSTYPE aOsType)
     1448void Guest::setAdditionsInfo(Bstr aVersion, VBOXOSTYPE aOsType)
    14631449{
    14641450    AutoCaller autoCaller(this);
     
    14711457     * Note that this is *not* the actual Guest Additions version and may differ!
    14721458     */
    1473     mData.mInterfaceVersion = aInterfaceVersion;
     1459    mData.mAdditionsVersion = aVersion;
    14741460    /*
    14751461     * Older Additions rely on the Additions API version whether they
     
    14771463     * this immediately.
    14781464     */
    1479     mData.mAdditionsActive = !aInterfaceVersion.isEmpty();
     1465    mData.mAdditionsActive = !aVersion.isEmpty();
    14801466    /*
    14811467     * Older Additions didn't have this finer grained capability bit,
     
    15011487 * @param ulFlags
    15021488 */
    1503 void Guest::setAdditionsStatus(VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags)
     1489void Guest::setAdditionsStatus (VBoxGuestStatusFacility Facility, VBoxGuestStatusCurrent Status, ULONG ulFlags)
    15041490{
    15051491    AutoCaller autoCaller(this);
     
    15211507 * @param ulActive
    15221508 */
    1523 void Guest::setSupportedFeatures(ULONG64 ulCaps, ULONG64 ulActive)
     1509void Guest::setSupportedFeatures (ULONG64 ulCaps, ULONG64 ulActive)
    15241510{
    15251511    AutoCaller autoCaller(this);
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