Searched refs:CHECK_ERROR_BREAK (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageGuestCtrlListener.cpp78 CHECK_ERROR_BREAK(pEvent, COMGETTER(File)(pProcess.asOutParam()));
81 CHECK_ERROR_BREAK(pEvent, COMGETTER(Status)(&fileSts));
83 CHECK_ERROR_BREAK(pProcess, COMGETTER(FileName)(strPath.asOutParam()));
85 CHECK_ERROR_BREAK(pProcess, COMGETTER(Id)(&uID));
128 CHECK_ERROR_BREAK(pEvent, COMGETTER(Process)(pProcess.asOutParam()));
131 CHECK_ERROR_BREAK(pEvent, COMGETTER(Status)(&procSts));
133 CHECK_ERROR_BREAK(pProcess, COMGETTER(ExecutablePath)(strPath.asOutParam()));
135 CHECK_ERROR_BREAK(pProcess, COMGETTER(PID)(&uPID));
172 CHECK_ERROR_BREAK(itProc->first, COMGETTER(EventSource)(pES.asOutParam()));
174 CHECK_ERROR_BREAK(pE
[all...]
H A DVBoxManageUSB.cpp411 CHECK_ERROR_BREAK(host, CreateUSBDeviceFilter(f.mName.raw(),
415 CHECK_ERROR_BREAK(flt, COMSETTER(Active)(f.mActive));
417 CHECK_ERROR_BREAK(flt, COMSETTER(VendorId)(f.mVendorId.raw()));
419 CHECK_ERROR_BREAK(flt, COMSETTER(ProductId)(f.mProductId.raw()));
421 CHECK_ERROR_BREAK(flt, COMSETTER(Revision)(f.mRevision.raw()));
423 CHECK_ERROR_BREAK(flt, COMSETTER(Manufacturer)(f.mManufacturer.raw()));
425 CHECK_ERROR_BREAK(flt, COMSETTER(SerialNumber)(f.mSerialNumber.raw()));
427 CHECK_ERROR_BREAK(flt, COMSETTER(MaskedInterfaces)(f.mMaskedInterfaces));
430 CHECK_ERROR_BREAK(flt, COMSETTER(Action)(f.mAction));
432 CHECK_ERROR_BREAK(hos
[all...]
H A DVBoxManageSnapshot.cpp60 CHECK_ERROR_BREAK(pThisSnapshot, COMGETTER(Machine)(pSnapshotMachine.asOutParam()));
64 CHECK_ERROR_BREAK(pSnapshotMachine, COMGETTER(MediumAttachments)(ComSafeArrayAsOutParam(aAttachments)));
72 CHECK_ERROR_BREAK(pAttach, COMGETTER(Type)(&type));
76 CHECK_ERROR_BREAK(pAttach, COMGETTER(Medium)(pMediumInSnapshot.asOutParam()));
82 CHECK_ERROR_BREAK(pThisSnapshot, COMGETTER(Name)(bstrSnapshotName.asOutParam()));
95 CHECK_ERROR_BREAK(pThisSnapshot, COMGETTER(Children)(ComSafeArrayAsOutParam(aSnapshots)));
137 CHECK_ERROR_BREAK(pMedium, COMGETTER(Name)(bstrMediumName.asOutParam()));
148 CHECK_ERROR_BREAK(pMedium, COMGETTER(Children)(ComSafeArrayAsOutParam(aChildren)));
223 CHECK_ERROR_BREAK(pMachine, FindSnapshot(Bstr("").raw(), pSnapshot.asOutParam()));
227 CHECK_ERROR_BREAK(pMachin
[all...]
H A DVBoxManageControlVM.cpp73 CHECK_ERROR_BREAK(vbox, COMGETTER(SystemProperties)(info.asOutParam()));
74 CHECK_ERROR_BREAK(mach, COMGETTER(ChipsetType)(&aChipset));
75 CHECK_ERROR_BREAK(info, GetMaxNetworkAdapters(aChipset, &NetworkAdapterCount));
109 CHECK_ERROR_BREAK(a->session, COMGETTER(Console)(console.asOutParam()));
111 CHECK_ERROR_BREAK(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()));
116 CHECK_ERROR_BREAK(console, Pause());
120 CHECK_ERROR_BREAK(console, Resume());
124 CHECK_ERROR_BREAK(console, Reset());
137 CHECK_ERROR_BREAK(sessionMachine, HotUnplugCPU(n));
150 CHECK_ERROR_BREAK(sessionMachin
[all...]
H A DVBoxManageGuestCtrl.cpp704 CHECK_ERROR_BREAK(pProgress, COMGETTER(Canceled)(&fCanceled));
708 CHECK_ERROR_BREAK(pProgress, COMGETTER(ResultCode)(&rcProc));
965 CHECK_ERROR_BREAK(machine, LockMachine(pArg->session, LockType_Shared));
968 CHECK_ERROR_BREAK(pArg->session, COMGETTER(Console)(console.asOutParam()));
971 CHECK_ERROR_BREAK(pArg->session, COMGETTER(Machine)(sessionMachine.asOutParam()));
973 CHECK_ERROR_BREAK(console, COMGETTER(Guest)(pCtx->pGuest.asOutParam()));
981 CHECK_ERROR_BREAK(pCtx->pGuest, CreateSession(Bstr(pCtx->strUsername).raw(),
996 CHECK_ERROR_BREAK(pCtx->pGuestSession, WaitForArray(ComSafeArrayAsInParam(aSessionWaitFlags),
1005 CHECK_ERROR_BREAK(pCtx->pGuestSession, COMGETTER(Id)(&pCtx->uSessionID));
1012 CHECK_ERROR_BREAK(pCt
[all...]
H A DVBoxManageAppliance.cpp291 CHECK_ERROR_BREAK(arg->virtualBox, CreateAppliance(pAppliance.asOutParam()));
301 CHECK_ERROR_BREAK(pAppliance, Read(Bstr(pszAbsFilePath).raw(),
309 CHECK_ERROR_BREAK(pAppliance, COMGETTER(Path)(path.asOutParam()));
338 CHECK_ERROR_BREAK(pAppliance,
350 CHECK_ERROR_BREAK(pAppliance,
381 CHECK_ERROR_BREAK(aVirtualSystemDescriptions[i],
856 CHECK_ERROR_BREAK(aVirtualSystemDescriptions[i],
872 CHECK_ERROR_BREAK(pAppliance,
1067 CHECK_ERROR_BREAK(a->virtualBox, FindMachine(Bstr(strMachine).raw(),
1117 CHECK_ERROR_BREAK(
[all...]
H A DVBoxManageMisc.cpp262 CHECK_ERROR_BREAK(a->virtualBox,
269 CHECK_ERROR_BREAK(a->virtualBox,
277 CHECK_ERROR_BREAK(machine, SaveSettings());
280 CHECK_ERROR_BREAK(a->virtualBox, RegisterMachine(machine));
283 CHECK_ERROR_BREAK(machine, COMGETTER(Id)(uuid.asOutParam()));
285 CHECK_ERROR_BREAK(machine, COMGETTER(SettingsFilePath)(settingsFile.asOutParam()));
649 CHECK_ERROR_BREAK(machine, LockMachine(a->session, LockType_Write));
653 CHECK_ERROR_BREAK(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()));
654 CHECK_ERROR_BREAK(sessionMachine, DiscardSavedState(true /* fDeleteFile */));
656 CHECK_ERROR_BREAK(
[all...]
H A DVBoxManageModifyVM.cpp1243 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1256 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1269 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1308 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1353 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1366 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1406 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1419 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1452 CHECK_ERROR_BREAK(sessionMachine, GetNetworkAdapter(GetOptState.uIndex - 1, nic.asOutParam()));
1512 CHECK_ERROR_BREAK(sessionMachin
[all...]
H A DVBoxManageDisk.cpp861 CHECK_ERROR_BREAK(pDstMedium, RefreshState(&state));
862 CHECK_ERROR_BREAK(pDstMedium, COMGETTER(Format)(format.asOutParam()));
868 CHECK_ERROR_BREAK(pSrcMedium, COMGETTER(Format)(format.asOutParam()));
893 CHECK_ERROR_BREAK(pSrcMedium, CloneTo(pDstMedium, ComSafeArrayAsInParam(l_variants), NULL, pProgress.asOutParam()));
899 CHECK_ERROR_BREAK(pDstMedium, COMGETTER(Id)(uuid.asOutParam()));
1108 CHECK_ERROR_BREAK(pMedium, RefreshState(&enmState));
1140 CHECK_ERROR_BREAK(pMedium, COMGETTER(LastAccessError)(err.asOutParam()));
H A DVBoxManageInfo.cpp2730 CHECK_ERROR_BREAK(machine, ReadLog(uLogIdx, uOffset, _1M,
/vbox/src/VBox/Frontends/VBoxAutostart/
H A DVBoxAutostartStop.cpp68 CHECK_ERROR_BREAK(console, COMGETTER(State)(&machineState));
130 CHECK_ERROR_BREAK(machines[i], COMGETTER(Accessible)(&fAccessible));
135 CHECK_ERROR_BREAK(machines[i], COMGETTER(AutostopType)(&enmAutostopType));
140 CHECK_ERROR_BREAK(machines[i], COMGETTER(Id)(autostopVM.strId.asOutParam()));
157 CHECK_ERROR_BREAK(g_pVirtualBox, FindMachine((*it).strId.raw(),
160 CHECK_ERROR_BREAK(machine, COMGETTER(State)(&enmMachineState));
167 CHECK_ERROR_BREAK(machine, COMGETTER(State)(&enmMachineState));
178 CHECK_ERROR_BREAK(machine, LockMachine(g_pSession, LockType_Shared));
181 CHECK_ERROR_BREAK(g_pSession, COMGETTER(Console)(console.asOutParam()));
192 CHECK_ERROR_BREAK(consol
[all...]
H A DVBoxAutostartStart.cpp97 CHECK_ERROR_BREAK(machines[i], COMGETTER(Accessible)(&fAccessible));
102 CHECK_ERROR_BREAK(machines[i], COMGETTER(AutostartEnabled)(&fAutostart));
107 CHECK_ERROR_BREAK(machines[i], COMGETTER(Id)(autostartVM.strId.asOutParam()));
108 CHECK_ERROR_BREAK(machines[i], COMGETTER(AutostartDelay)(&autostartVM.uStartupDelay));
137 CHECK_ERROR_BREAK(g_pVirtualBox, FindMachine((*it).strId.raw(),
140 CHECK_ERROR_BREAK(machine, LaunchVMProcess(g_pSession, Bstr("headless").raw(),
/vbox/src/VBox/Frontends/VBoxHeadless/testcase/
H A DtstHeadless.cpp111 CHECK_ERROR_BREAK(virtualBox, FindMachine(Bstr(name).raw(),
118 CHECK_ERROR_BREAK(m,
123 CHECK_ERROR_BREAK(progress, WaitForCompletion(-1));
126 CHECK_ERROR_BREAK(progress, COMGETTER(Completed)(&completed));
130 CHECK_ERROR_BREAK(progress, COMGETTER(ResultCode)(&resultCode));
144 CHECK_ERROR_BREAK(m, LockMachine(session, LockType_Shared));
147 CHECK_ERROR_BREAK(session, COMGETTER(Console)(console.asOutParam()));
153 CHECK_ERROR_BREAK(console, PowerDown(progress.asOutParam()));
156 CHECK_ERROR_BREAK(progress, WaitForCompletion(-1));
159 CHECK_ERROR_BREAK(progres
[all...]
/vbox/src/VBox/Main/testcase/
H A DtstAPI.cpp280 CHECK_ERROR_BREAK(virtualBox,
335 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Host)(host.asOutParam()));
376 CHECK_ERROR_BREAK(virtualBox, COMGETTER(Version)(version.asOutParam()));
388 CHECK_ERROR_BREAK(virtualBox,
397 CHECK_ERROR_BREAK(machines[i], COMGETTER(Name)(name.asOutParam()));
405 CHECK_ERROR_BREAK(virtualBox,
423 CHECK_ERROR_BREAK(virtualBox,
556 CHECK_ERROR_BREAK(virtualBox, OpenHardDisk(src, AccessMode_ReadWrite, hd.asOutParam()));
560 CHECK_ERROR_BREAK(virtualBox, RegisterHardDisk(hd));
576 CHECK_ERROR_BREAK(virtualBo
[all...]
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/
H A DVBoxModAPIMonitor.cpp202 CHECK_ERROR_BREAK(machine, COMGETTER(State)(&machineState));
208 CHECK_ERROR_BREAK(machine, LockMachine(g_pSession, LockType_Shared));
214 CHECK_ERROR_BREAK(g_pSession, COMGETTER(Console)(console.asOutParam()));
217 CHECK_ERROR_BREAK(g_pSession, COMGETTER(Machine)(sessionMachine.asOutParam()));
228 CHECK_ERROR_BREAK(console, Pause());
235 CHECK_ERROR_BREAK(console, PowerDown(progress.asOutParam()));
255 CHECK_ERROR_BREAK(console, COMGETTER(State)(&machineState));
284 CHECK_ERROR_BREAK(console, PowerButton());
294 CHECK_ERROR_BREAK(console, PowerButton());
467 CHECK_ERROR_BREAK(g_pVirtualBo
[all...]
H A DVBoxModBallooning.cpp254 CHECK_ERROR_BREAK(g_pPerfCollector, SetupMetrics(ComSafeArrayAsInParam(metricNames),
262 CHECK_ERROR_BREAK(g_pVirtualBox, COMGETTER(PerformanceCollector)(coll.asOutParam()));
263 CHECK_ERROR_BREAK(coll, SetupMetrics(ComSafeArrayAsInParam(metricNames),
341 CHECK_ERROR_BREAK(g_pSession, COMGETTER(Console)(console.asOutParam()));
346 CHECK_ERROR_BREAK(guest, COMSETTER(MemoryBalloonSize)(lBalloonCur));
H A DVBoxWatchdog.cpp346 CHECK_ERROR_BREAK(g_pVirtualBox, FindMachine(strUuid.raw(), machine.asOutParam()));
353 CHECK_ERROR_BREAK(machine, COMGETTER(Groups)(ComSafeArrayAsOutParam(groups)));
570 CHECK_ERROR_BREAK(machines[i], COMGETTER(Id)(strUUID.asOutParam()));
573 CHECK_ERROR_BREAK(machines[i], COMGETTER(Accessible)(&fAccessible));
702 CHECK_ERROR_BREAK(g_pVirtualBox, COMGETTER(EventSource)(g_pEventSource.asOutParam()));
703 CHECK_ERROR_BREAK(g_pVirtualBoxClient, COMGETTER(EventSource)(g_pEventSourceClient.asOutParam()));
715 CHECK_ERROR_BREAK(g_pEventSource, RegisterListener(g_pVBoxEventListener, ComSafeArrayAsInParam(eventTypes), true /* Active listener */));
716 CHECK_ERROR_BREAK(g_pEventSourceClient, RegisterListener(g_pVBoxEventListener, ComSafeArrayAsInParam(eventTypes), true /* Active listener */));
/vbox/src/VBox/Frontends/VBoxHeadless/
H A DVBoxHeadless.cpp961 CHECK_ERROR_BREAK(m, LockMachine(session, LockType_VM));
966 CHECK_ERROR_BREAK(session, COMGETTER(Console)(console.asOutParam()));
969 CHECK_ERROR_BREAK(console, COMGETTER(Machine)(machine.asOutParam()));
972 CHECK_ERROR_BREAK(console, COMGETTER(Display)(display.asOutParam()));
977 CHECK_ERROR_BREAK(machine, COMSETTER(VideoCaptureFile)(Bstr(szMpegFile).raw()));
978 CHECK_ERROR_BREAK(machine, COMSETTER(VideoCaptureWidth)(ulFrameWidth));
979 CHECK_ERROR_BREAK(machine, COMSETTER(VideoCaptureHeight)(ulFrameHeight));
980 CHECK_ERROR_BREAK(machine, COMSETTER(VideoCaptureRate)(ulBitRate));
981 CHECK_ERROR_BREAK(machine, COMSETTER(VideoCaptureEnabled)(TRUE));
1066 CHECK_ERROR_BREAK(machin
[all...]
/vbox/include/VBox/com/
H A Derrorprint.h105 # define CHECK_ERROR_BREAK(iface, method) \ macro
116 # define CHECK_ERROR_BREAK(iface, method) \ macro
/vbox/src/VBox/HostServices/SharedOpenGL/crserver/
H A Dcrservice.cpp944 CHECK_ERROR_BREAK(pConsole, COMGETTER(Machine)(pMachine.asOutParam()));
945 CHECK_ERROR_BREAK(pMachine, COMGETTER(MonitorCount)(&monitorCount));
946 CHECK_ERROR_BREAK(pConsole, COMGETTER(Display)(pDisplay.asOutParam()));
1087 CHECK_ERROR_BREAK(pFramebuffer, COMGETTER(WinId)(&winId));
1097 CHECK_ERROR_BREAK(pFramebuffer, COMGETTER(Width)(&w));
1098 CHECK_ERROR_BREAK(pFramebuffer, COMGETTER(Height)(&h));
1101 CHECK_ERROR_BREAK(pDisplay, GetScreenResolution(screenId, &dummy, &dummy, &dummy, &xo, &yo, &monitorStatus));
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDL.cpp1680 CHECK_ERROR_BREAK(pVirtualBox, COMGETTER(Host)(pHost.asOutParam()));
1695 CHECK_ERROR_BREAK(pVirtualBox,
1765 CHECK_ERROR_BREAK(pVirtualBox, COMGETTER(Host)(pHost.asOutParam()));
1779 CHECK_ERROR_BREAK(pVirtualBox,
2942 CHECK_ERROR_BREAK(gpConsole, PowerDown(pProgress.asOutParam()));
2943 CHECK_ERROR_BREAK(pProgress, WaitForCompletion(-1));
2945 CHECK_ERROR_BREAK(pProgress, COMGETTER(Completed)(&completed));
2948 CHECK_ERROR_BREAK(pProgress, COMGETTER(ResultCode)(&hrc));

Completed in 415 milliseconds