VirtualBox

Ignore:
Timestamp:
Aug 12, 2010 6:12:39 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64743
Message:

Main: Implemenation of per-machine media registries; VirtualBox::openMedium() no longer adds media to the global registry, instead a media are stored in a machine XML registry after Machine::AttachDevice() has been called; Machine::AttachDevice() now takes an IMedium object instead of a UUID; also make Machine::Unregister() work again for inaccessible machines

File:
1 edited

Legend:

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

    r31574 r31615  
    452452    STDMETHOD(GetBootOrder)(ULONG aPosition, DeviceType_T *aDevice);
    453453    STDMETHOD(AttachDevice)(IN_BSTR aControllerName, LONG aControllerPort,
    454                             LONG aDevice, DeviceType_T aType, IN_BSTR aId);
     454                            LONG aDevice, DeviceType_T aType, IMedium *aMedium);
    455455    STDMETHOD(DetachDevice)(IN_BSTR aControllerName, LONG aControllerPort, LONG aDevice);
    456456    STDMETHOD(PassthroughDevice)(IN_BSTR aControllerName, LONG aControllerPort, LONG aDevice, BOOL aPassthrough);
     
    10181018                              MediumLockList *aMediumLockList,
    10191019                              ComObjPtr<Progress> &aProgress,
    1020                               bool *pfNeedsSaveSettings);
     1020                              bool *pfNeedsMachineSaveSettings);
    10211021
    10221022    HRESULT lockMedia();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette