VirtualBox

Ignore:
Timestamp:
May 2, 2012 2:55:59 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77728
Message:

Replace calls of findMedium with openMedium, remove findMedium references in idl and definitions/declarations

File:
1 edited

Legend:

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

    r41106 r41120  
    627627    /** @todo: Maybe too cost-intensive; try to find a lighter way */
    628628    while (    RTPathExists(tmpName)
    629             || mVirtualBox->FindMedium(Bstr(tmpName).raw(), DeviceType_HardDisk, &harddisk) != VBOX_E_OBJECT_NOT_FOUND
     629            || mVirtualBox->OpenMedium(Bstr(tmpName).raw(), DeviceType_HardDisk, AccessMode_ReadWrite, FALSE /* fForceNewUuid */,  &harddisk)
    630630          )
    631631    {
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