VirtualBox

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


Ignore:
Timestamp:
Aug 2, 2010 10:35:19 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64308
Message:

Main: one function instead of two for finding DVD and floppy images

File:
1 edited

Legend:

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

    r31273 r31281  
    223223    HRESULT findHardDisk(const Guid *aId, CBSTR aLocation,
    224224                          bool aSetError, ComObjPtr<Medium> *aHardDisk = NULL);
    225     HRESULT findDVDImage(const Guid *aId, CBSTR aLocation,
    226                          bool aSetError, ComObjPtr<Medium> *aImage = NULL);
    227     HRESULT findFloppyImage(const Guid *aId, CBSTR aLocation,
    228                             bool aSetError, ComObjPtr<Medium> *aImage = NULL);
     225    HRESULT findDVDOrFloppyImage(DeviceType_T mediumType,
     226                                 const Guid *aId,
     227                                 const Utf8Str &aLocation,
     228                                 bool aSetError,
     229                                 ComObjPtr<Medium> *aImage = NULL);
    229230
    230231    HRESULT findGuestOSType(const Bstr &bstrOSType,
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