Changeset 41106 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- May 1, 2012 8:02:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r41105 r41106 1462 1462 */ 1463 1463 Bstr bstrHdaFile(hdaFile); 1464 #if 0 // Substitute call to FindMedium to OpenMedium1465 1464 pVirtualBox->FindMedium(bstrHdaFile.raw(), DeviceType_HardDisk, 1466 pMedium.asOutParam());1467 #endif1468 pVirtualBox->OpenMedium(bstrHdaFile.raw(), DeviceType_HardDisk,1469 AccessMode_ReadWrite, FALSE /* fForceNewUuid */,1470 1465 pMedium.asOutParam()); 1471 1466 if (!pMedium) … … 1550 1545 { 1551 1546 /* try to find an existing one */ 1552 #if 0 // Substitute call to FindMedium to OpenMedium1553 1547 rc = pVirtualBox->FindMedium(bstrFdaFile.raw(), DeviceType_Floppy, 1554 1548 pMedium.asOutParam()); 1555 #endif1556 rc = pVirtualBox->OpenMedium(bstrFdaFile.raw(),1557 DeviceType_Floppy,1558 AccessMode_ReadWrite,1559 FALSE /* fForceNewUuid */,1560 pMedium.asOutParam());1561 1549 if (FAILED(rc)) 1562 1550 { … … 1638 1626 { 1639 1627 /* try to find an existing one */ 1640 #if 0 // Substitute call to FindMedium to OpenMedium1641 1628 rc = pVirtualBox->FindMedium(bstrCdromFile.raw(), DeviceType_DVD, 1642 1629 pMedium.asOutParam()); 1643 #endif1644 rc = pVirtualBox->OpenMedium(bstrCdromFile.raw(), DeviceType_DVD,1645 AccessMode_ReadWrite, FALSE /* fForceNewUuid */,1646 pMedium.asOutParam());1647 1630 if (FAILED(rc)) 1648 1631 {
Note:
See TracChangeset
for help on using the changeset viewer.