Lines Matching refs:CHECK_ERROR_RET

152     CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(VMName).raw(),
156 CHECK_ERROR_RET(machine, Unregister(CleanupMode_DetachAllReturnHardDisksOnly,
162 CHECK_ERROR_RET(machine, DeleteConfig(ComSafeArrayAsInParam(aMedia), pProgress.asOutParam()),
432 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(pszSrcName).raw(),
441 CHECK_ERROR_RET(srcMachine, FindSnapshot(Bstr(pszSnapshotName).raw(),
444 CHECK_ERROR_RET(srcSnapshot, COMGETTER(Machine)(srcMachine.asOutParam()),
459 CHECK_ERROR_RET(a->virtualBox,
468 CHECK_ERROR_RET(a->virtualBox, CreateMachine(bstrSettingsFile.raw(),
478 CHECK_ERROR_RET(srcMachine, CloneTo(trgMachine,
487 CHECK_ERROR_RET(a->virtualBox, RegisterMachine(trgMachine), RTEXITCODE_FAILURE);
490 CHECK_ERROR_RET(trgMachine, COMGETTER(Name)(bstrNewName.asOutParam()), RTEXITCODE_FAILURE);
807 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
810 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
991 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
995 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
998 CHECK_ERROR_RET(a->session, COMGETTER(Console)(console.asOutParam()), 1);
1009 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Write), 1);
1061 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
1064 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
1066 CHECK_ERROR_RET(a->session, COMGETTER(Console)(console.asOutParam()), 1);
1076 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Write), 1);