VirtualBox

Ignore:
Timestamp:
Aug 11, 2010 10:02:40 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64666
Message:

Main: merge IVirtualBox::FindHardDisk, GetHardDisk, FindDVDImage, GetDVDImage, FindFloppyImage and GetFloppyImage into one IVirtualBox::findMedium method

File:
1 edited

Legend:

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

    r30881 r31562  
    611611    /* @todo: Maybe too cost-intensive; try to find a lighter way */
    612612    while (    RTPathExists(tmpName)
    613             || mVirtualBox->FindHardDisk(Bstr(tmpName), &harddisk) != VBOX_E_OBJECT_NOT_FOUND
     613            || mVirtualBox->FindMedium(Bstr(tmpName), DeviceType_HardDisk, &harddisk) != VBOX_E_OBJECT_NOT_FOUND
    614614          )
    615615    {
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