Changeset 63751 in vbox
- Timestamp:
- Sep 7, 2016 2:30:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageSnapshot.cpp
r63300 r63751 497 497 498 498 ComPtr<ISnapshot> pSnapshot; 499 ComPtr<IProgress> pProgress;500 Bstr bstrSnapGuid;501 499 502 500 if (fRestoreCurrent) … … 516 514 } 517 515 516 Bstr bstrSnapGuid; 518 517 CHECK_ERROR_BREAK(pSnapshot, COMGETTER(Id)(bstrSnapGuid.asOutParam())); 518 519 Bstr bstrSnapName; 520 CHECK_ERROR_BREAK(pSnapshot, COMGETTER(Name)(bstrSnapName.asOutParam())); 521 522 ComPtr<IProgress> pProgress; 523 524 RTPrintf("%s snapshot '%ls' (%ls)\n", 525 fDelete ? "Deleting" : "Restoring", bstrSnapName.raw(), bstrSnapGuid.raw()); 519 526 520 527 if (fDelete) … … 526 533 { 527 534 // restore or restore current 528 RTPrintf("Restoring snapshot %ls\n", bstrSnapGuid.raw());529 535 CHECK_ERROR_BREAK(sessionMachine, RestoreSnapshot(pSnapshot, pProgress.asOutParam())); 530 536 }
Note:
See TracChangeset
for help on using the changeset viewer.