Changeset 48121 in vbox for trunk/src/VBox
- Timestamp:
- Aug 28, 2013 11:19:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r47991 r48121 3554 3554 } 3555 3555 3556 if ( pMedium 3557 && ( lType == DeviceType_DVD 3558 || lType == DeviceType_Floppy)) 3559 { 3560 /* 3561 * Informative logging. 3562 */ 3563 ComPtr<IMediumFormat> pMediumFormat; 3564 hrc = pMedium->COMGETTER(MediumFormat)(pMediumFormat.asOutParam()); H(); 3565 ULONG uCaps = 0; 3566 com::SafeArray <MediumFormatCapabilities_T> mediumFormatCap; 3567 hrc = pMediumFormat->COMGETTER(Capabilities)(ComSafeArrayAsOutParam(mediumFormatCap)); H(); 3568 3569 for (ULONG j = 0; j < mediumFormatCap.size(); j++) 3570 uCaps |= mediumFormatCap[j]; 3571 3572 if (uCaps & MediumFormatCapabilities_File) 3573 { 3556 if (pMedium) 3557 { 3558 BOOL fHostDrive; 3559 hrc = pMedium->COMGETTER(HostDrive)(&fHostDrive); H(); 3560 if ( ( lType == DeviceType_DVD 3561 || lType == DeviceType_Floppy) 3562 && !fHostDrive) 3563 { 3564 /* 3565 * Informative logging. 3566 */ 3574 3567 Bstr strFile; 3575 3568 hrc = pMedium->COMGETTER(Location)(strFile.asOutParam()); H();
Note:
See TracChangeset
for help on using the changeset viewer.