Changeset 54438 in vbox for trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
- Timestamp:
- Feb 24, 2015 11:09:17 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98541
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r53354 r54438 5 5 6 6 /* 7 * Copyright (C) 2008-201 4Oracle Corporation7 * Copyright (C) 2008-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 2521 2521 2522 2522 /* Now create an empty hard disk. */ 2523 rc = mVirtualBox->CreateHardDisk(Bstr(strTrgFormat).raw(), 2524 Bstr(*strTargetPath).raw(), 2525 ComPtr<IMedium>(pTargetHD).asOutParam()); 2523 rc = mVirtualBox->CreateMedium(Bstr(strTrgFormat).raw(), 2524 Bstr(*strTargetPath).raw(), 2525 AccessMode_ReadWrite, DeviceType_HardDisk, 2526 ComPtr<IMedium>(pTargetHD).asOutParam()); 2526 2527 if (FAILED(rc)) throw rc; 2527 2528
Note:
See TracChangeset
for help on using the changeset viewer.