Searched refs:CHECK_ERROR_RET (Results 1 - 19 of 19) sorted by relevance

/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageInfo.cpp273 CHECK_ERROR_RET(bwCtrl, GetAllBandwidthGroups(ComSafeArrayAsOutParam(bwGroups)), rc);
283 CHECK_ERROR_RET(bwGroups[i], COMGETTER(Name)(strName.asOutParam()), rc);
284 CHECK_ERROR_RET(bwGroups[i], COMGETTER(Type)(&enmType), rc);
285 CHECK_ERROR_RET(bwGroups[i], COMGETTER(MaxBytesPerSec)(&cMaxBytesPerSec), rc);
1782 CHECK_ERROR_RET(pConsole, COMGETTER(VRDEServerInfo)(vrdeServerInfo.asOutParam()), rc);
1936 CHECK_ERROR_RET(DevPtr, COMGETTER(Active)(&bActive), rc);
1943 CHECK_ERROR_RET(DevPtr, COMGETTER(Name)(bstr.asOutParam()), rc);
1948 CHECK_ERROR_RET(DevPtr, COMGETTER(VendorId)(bstr.asOutParam()), rc);
1953 CHECK_ERROR_RET(DevPtr, COMGETTER(ProductId)(bstr.asOutParam()), rc);
1958 CHECK_ERROR_RET(DevPt
[all...]
H A DVBoxManageHostonly.cpp57 CHECK_ERROR_RET(a->virtualBox, COMGETTER(Host)(host.asOutParam()), 1);
62 CHECK_ERROR_RET(host, CreateHostOnlyNetworkInterface (hif.asOutParam(), progress.asOutParam()), 1);
89 CHECK_ERROR_RET(a->virtualBox, COMGETTER(Host)(host.asOutParam()), 1);
92 CHECK_ERROR_RET(host, FindHostNetworkInterfaceByName(name.raw(), hif.asOutParam()), 1);
95 CHECK_ERROR_RET(hif, COMGETTER(Id)(guid.asOutParam()), 1);
98 CHECK_ERROR_RET(host, RemoveHostOnlyNetworkInterface(guid.raw(), progress.asOutParam()), 1);
H A DVBoxManageMisc.cpp152 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(
[all...]
H A DVBoxManageList.cpp372 CHECK_ERROR_RET(pVirtualBox, COMGETTER(Host)(Host.asOutParam()), 1);
375 CHECK_ERROR_RET(Host, COMGETTER(USBDevices)(ComSafeArrayAsOutParam(CollPtr)), 1);
391 CHECK_ERROR_RET(dev, COMGETTER(Id)(id.asOutParam()), 1);
393 CHECK_ERROR_RET(dev, COMGETTER(VendorId)(&usVendorId), 1);
395 CHECK_ERROR_RET(dev, COMGETTER(ProductId)(&usProductId), 1);
397 CHECK_ERROR_RET(dev, COMGETTER(Revision)(&bcdRevision), 1);
399 CHECK_ERROR_RET(dev, COMGETTER(Port)(&usPort), 1);
401 CHECK_ERROR_RET(dev, COMGETTER(Version)(&usVersion), 1);
403 CHECK_ERROR_RET(dev, COMGETTER(PortVersion)(&usPortVersion), 1);
405 CHECK_ERROR_RET(de
[all...]
H A DVBoxManageControlVM.cpp101 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
422 CHECK_ERROR_RET(adapter, COMSETTER(TraceFile)(Bstr(a->argv[2]).raw()), 1);
465 CHECK_ERROR_RET(adapter, COMSETTER(TraceEnabled)(TRUE), 1);
469 CHECK_ERROR_RET(adapter, COMSETTER(TraceEnabled)(FALSE), 1);
715 CHECK_ERROR_RET(adapter, COMSETTER(Enabled)(TRUE), 1);
716 CHECK_ERROR_RET(adapter, COMSETTER(AttachmentType)(NetworkAttachmentType_Null), 1);
720 CHECK_ERROR_RET(adapter, COMSETTER(Enabled)(TRUE), 1);
722 CHECK_ERROR_RET(adapter, COMSETTER(NATNetwork)(Bstr(a->argv[3]).raw()), 1);
723 CHECK_ERROR_RET(adapter, COMSETTER(AttachmentType)(NetworkAttachmentType_NAT), 1);
734 CHECK_ERROR_RET(adapte
[all...]
H A DVBoxManageBandwidthControl.cpp316 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(),
320 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
322 CHECK_ERROR_RET(a->session, COMGETTER(Type)(&st), 1);
H A DVBoxManageNATNetwork.cpp386 CHECK_ERROR_RET(net, COMSETTER(LoopbackIp6)(loopback6Offset), rc);
413 CHECK_ERROR_RET(net, AddLocalMapping(bstrAddress.raw(), lOffset), rc);
428 CHECK_ERROR_RET(net, AddLocalMapping(bstrAddress.raw(), 0), rc);
H A DVBoxManageGuestProp.cpp97 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
158 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
202 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
253 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
H A DVBoxManageStorageController.cpp320 CHECK_ERROR_RET(a->virtualBox, COMGETTER(SystemProperties)(systemProperties.asOutParam()), 1);
323 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(),
325 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Shared), 1);
327 CHECK_ERROR_RET(a->session, COMGETTER(Type)(&st), 1);
349 CHECK_ERROR_RET(storageCtl, COMGETTER(Bus)(&storageBus), 1);
351 CHECK_ERROR_RET(systemProperties, GetMaxPortCountForStorageBus(storageBus, &maxPorts), 1);
353 CHECK_ERROR_RET(systemProperties, GetMaxDevicesPerPortForStorageBus(storageBus, &maxDevices), 1);
1045 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(),
1049 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Write), 1);
H A DVBoxManageUSB.cpp223 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(a->argv[i]).raw(),
372 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(a->argv[i]).raw(),
393 CHECK_ERROR_RET(a->virtualBox, COMGETTER(Host)(host.asOutParam()), 1);
397 CHECK_ERROR_RET(cmd.mMachine, LockMachine(a->session, LockType_Shared), 1);
401 CHECK_ERROR_RET(cmd.mMachine, COMGETTER(USBDeviceFilters)(flts.asOutParam()), 1);
H A DVBoxInternalManage.cpp458 CHECK_ERROR_RET(aVirtualBox, FindMachine(Bstr(argv[0]).raw(),
534 CHECK_ERROR_RET(aVirtualBox, FindMachine(Bstr(argv[0]).raw(),
2303 CHECK_ERROR_RET(aVirtualBox, FindMachine(Bstr(argv[0]).raw(),
2306 CHECK_ERROR_RET(ptrMachine, LockMachine(aSession, LockType_Shared), 1);
2312 CHECK_ERROR_RET(aSession, COMGETTER(Console)(ptrConsole.asOutParam()), 1);
2315 CHECK_ERROR_RET(ptrConsole, COMGETTER(Debugger)(ptrDebugger.asOutParam()), 1);
2395 CHECK_ERROR_RET(ptrDebugger, COMSETTER(LogEnabled)(FALSE), 1);
2402 CHECK_ERROR_RET(ptrDebugger, COMSETTER(LogEnabled)(TRUE), 1);
2468 CHECK_ERROR_RET(aVirtualBox, FindMachine(Bstr(argv[0]).raw(),
2471 CHECK_ERROR_RET(ptrMachin
[all...]
H A DVBoxManageSnapshot.cpp284 CHECK_ERROR_RET(pMachine, LockMachine(a->session, LockType_Shared), 1);
H A DVBoxManageModifyVM.cpp470 CHECK_ERROR_RET(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(),
478 CHECK_ERROR_RET(machine, LockMachine(a->session, LockType_Write), 1);
482 CHECK_ERROR_RET(a->session, COMGETTER(Machine)(sessionMachine.asOutParam()), 1);
/vbox/src/VBox/Main/testcase/
H A DtstVBoxAPI.cpp344 CHECK_ERROR_RET(pVBox, FindMachine(Bstr(tstMachineName).raw(), machine.asOutParam()), FALSE);
346 CHECK_ERROR_RET(machine, Unregister(CleanupMode_DetachAllReturnHardDisksOnly,
349 CHECK_ERROR_RET(machine, DeleteConfig(ComSafeArrayAsInParam(media), progress.asOutParam()), FALSE);
350 CHECK_ERROR_RET(progress, WaitForCompletion(-1), FALSE);
H A DtstAPI.cpp64 CHECK_ERROR_RET(machine, COMGETTER(Name)(name.asOutParam()), rc);
78 CHECK_ERROR_RET(machine, COMGETTER(MemorySize)(&memorySize), rc);
83 CHECK_ERROR_RET(machine, COMGETTER(State)(&machineState), rc);
99 CHECK_ERROR_RET(machine, COMGETTER(SettingsModified)(&modified), rc);
105 CHECK_ERROR_RET(machine, COMGETTER(MemorySize)(&memorySizeGot), rc);
119 CHECK_ERROR_RET(machine, DiscardSettings(), rc);
121 CHECK_ERROR_RET(machine, COMGETTER(SettingsModified)(&modified), rc);
126 CHECK_ERROR_RET(machine, COMGETTER(MemorySize)(&memorySizeGot), rc);
132 CHECK_ERROR_RET(machine, COMSETTER(MemorySize)(memorySize), rc);
137 CHECK_ERROR_RET(machin
[all...]
/vbox/include/VBox/com/
H A Derrorprint.h133 #define CHECK_ERROR_RET(iface, method, ret) \ macro
146 * Unlike CHECK_ERROR and CHECK_ERROR_RET, this macro does not presuppose a
/vbox/src/VBox/HostServices/SharedOpenGL/crserver/
H A Dcrservice.cpp959 CHECK_ERROR_RET(pDisplay, QueryFramebuffer(i, pFramebuffer.asOutParam()), rc);
968 CHECK_ERROR_RET(pFramebuffer, COMGETTER(WinId)(&winId), rc);
969 CHECK_ERROR_RET(pFramebuffer, COMGETTER(Width)(&w), rc);
970 CHECK_ERROR_RET(pFramebuffer, COMGETTER(Height)(&h), rc);
973 CHECK_ERROR_RET(pDisplay, GetScreenResolution(i, &dummy, &dummy, &dummy, &xo, &yo, &monitorStatus), rc);
1069 CHECK_ERROR_RET(g_pConsole, COMGETTER(Display)(pDisplay.asOutParam()), rc);
1070 CHECK_ERROR_RET(pDisplay, QueryFramebuffer(screenId, pFramebuffer.asOutParam()), rc);
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/
H A DVBoxModAPIMonitor.cpp196 CHECK_ERROR_RET(g_pVirtualBox, FindMachine(strUuid.raw(),
H A DVBoxWatchdog.cpp925 CHECK_ERROR_RET(g_pVirtualBox,

Completed in 75 milliseconds