- Timestamp:
- Mar 20, 2013 6:05:59 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84387
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r44503 r45098 2504 2504 } 2505 2505 2506 { /* see @bugref{4386} */2506 { 2507 2507 /*check available place on the storage*/ 2508 2508 RTFOFF pcbTotal = 0; … … 2535 2535 if (FAILED(rc)) 2536 2536 throw rc; 2537 ULONG uTargetCaps = 0; 2538 com::SafeArray <MediumFormatCapabilities_T> mediumFormatCap; 2539 rc = pTargetFormat->COMGETTER(Capabilities)(ComSafeArrayAsOutParam(mediumFormatCap)); 2540 2541 if (FAILED(rc)) throw rc; 2542 else 2543 { 2544 for (ULONG j = 0; j < mediumFormatCap.size(); j++) 2545 uTargetCaps |= mediumFormatCap[j]; 2546 } 2547 2548 if (uTargetCaps & MediumFormatCapabilities_File) 2537 2538 if(pTarget_local->isMediumFormatFile()) 2549 2539 { 2550 2540 int vrc = RTFsQuerySerial(pTarget_local->getLocationFull().c_str(), &pu32Serial);
Note:
See TracChangeset
for help on using the changeset viewer.