Changeset 41120 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- May 2, 2012 2:55:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r41106 r41120 1462 1462 */ 1463 1463 Bstr bstrHdaFile(hdaFile); 1464 pVirtualBox->FindMedium(bstrHdaFile.raw(), DeviceType_HardDisk, 1464 pVirtualBox->OpenMedium(bstrHdaFile.raw(), DeviceType_HardDisk, 1465 AccessMode_ReadWrite, FALSE /* fForceNewUuid */, 1465 1466 pMedium.asOutParam()); 1466 1467 if (!pMedium) … … 1545 1546 { 1546 1547 /* try to find an existing one */ 1547 rc = pVirtualBox->FindMedium(bstrFdaFile.raw(), DeviceType_Floppy, 1548 rc = pVirtualBox->OpenMedium(bstrFdaFile.raw(), 1549 DeviceType_Floppy, 1550 AccessMode_ReadWrite, 1551 FALSE /* fForceNewUuid */, 1548 1552 pMedium.asOutParam()); 1549 1553 if (FAILED(rc)) … … 1626 1630 { 1627 1631 /* try to find an existing one */ 1628 rc = pVirtualBox->FindMedium(bstrCdromFile.raw(), DeviceType_DVD, 1629 pMedium.asOutParam()); 1632 rc = pVirtualBox->OpenMedium(bstrCdromFile.raw(), 1633 DeviceType_DVD, 1634 AccessMode_ReadWrite, 1635 FALSE /* fForceNewUuid */, 1636 pMedium.asOutParam()); 1630 1637 if (FAILED(rc)) 1631 1638 {
Note:
See TracChangeset
for help on using the changeset viewer.