Changeset 30956 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Jul 21, 2010 12:59:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstOVF.cpp
r30931 r30956 350 350 RTPrintf(" Deleting machine %ls...\n", bstrUUID.raw()); 351 351 SafeArray<BSTR> sfaFiles; 352 rc = pVirtualBox->UnregisterMachine(bstrUUID, 353 true /* fDetachMedia */, 354 ComSafeArrayAsOutParam(sfaFiles), 355 pMachine.asOutParam()); 356 if (FAILED(rc)) throw MyError(rc, "VirtualBox::UnregisterMachine() failed\n"); 352 rc = pMachine->Unregister(true /* fDetachMedia */, 353 ComSafeArrayAsOutParam(sfaFiles)); 354 if (FAILED(rc)) throw MyError(rc, "Machine::Unregister() failed\n"); 357 355 358 356 for (size_t u = 0; … … 364 362 } 365 363 366 rc = pMachine->Delete Settings();364 rc = pMachine->Delete(); 367 365 if (FAILED(rc)) throw MyError(rc, "Machine::DeleteSettings() failed\n"); 368 366 }
Note:
See TracChangeset
for help on using the changeset viewer.