VirtualBox

Changeset 43915 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Nov 19, 2012 7:07:10 PM (12 years ago)
Author:
vboxsync
Message:

Main/Machine+Snapshot+Medium: fix cancelling snapshots, used to trigger both backref inconsistency and incorrect lock list/map updates which could cause runtime misbehavior, the config file was already made consistent with the previous changes

File:
1 edited

Legend:

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

    r43908 r43915  
    10651065    STDMETHOD(PushGuestProperty)(IN_BSTR aName, IN_BSTR aValue,
    10661066                                  LONG64 aTimestamp, IN_BSTR aFlags);
    1067     STDMETHOD(LockMedia)()   { return lockMedia(); }
    1068     STDMETHOD(UnlockMedia)() { unlockMedia(); return S_OK; }
     1067    STDMETHOD(LockMedia)();
     1068    STDMETHOD(UnlockMedia)();
    10691069    STDMETHOD(EjectMedium)(IMediumAttachment *aAttachment,
    10701070                           IMediumAttachment **aNewAttachment);
     
    11101110
    11111111    bool hasMatchingUSBFilter(const ComObjPtr<HostUSBDevice> &aDevice, ULONG *aMaskedIfs);
     1112
     1113    HRESULT lockMedia();
     1114    void unlockMedia();
    11121115
    11131116private:
     
    11781181                              bool *pfNeedsMachineSaveSettings);
    11791182
    1180     HRESULT lockMedia();
    1181     void unlockMedia();
    1182 
    11831183    HRESULT setMachineState(MachineState_T aMachineState);
    11841184    HRESULT updateMachineStateOnClient();
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