/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageModifyVM.cpp | 499 CHECK_ERROR(sessionMachine, COMSETTER(Name)(Bstr(ValueUnion.psz).raw())); 506 CHECK_ERROR(sessionMachine, COMSETTER(Groups)(ComSafeArrayAsInParam(groups))); 511 CHECK_ERROR(sessionMachine, COMSETTER(Description)(Bstr(ValueUnion.psz).raw())); 517 CHECK_ERROR(a->virtualBox, GetGuestOSType(Bstr(ValueUnion.psz).raw(), 521 CHECK_ERROR(sessionMachine, COMSETTER(OSTypeId)(Bstr(ValueUnion.psz).raw())); 564 CHECK_ERROR(sessionMachine, COMSETTER(Icon)(ComSafeArrayAsInParam(icon))); 570 CHECK_ERROR(sessionMachine, COMSETTER(MemorySize)(ValueUnion.u32)); 576 CHECK_ERROR(sessionMachine, COMSETTER(PageFusionEnabled)(ValueUnion.f)); 582 CHECK_ERROR(sessionMachine, COMSETTER(VRAMSize)(ValueUnion.u32)); 590 CHECK_ERROR(sessionMachin [all...] |
H A D | VBoxManageStorageController.cpp | 378 CHECK_ERROR(storageCtl, COMGETTER(MaxPortCount)(&ulMaxPortCount)); 379 CHECK_ERROR(storageCtl, COMGETTER(PortCount)(&ulPortCount)); 384 CHECK_ERROR(storageCtl, COMSETTER(PortCount)(port + 1)); 388 CHECK_ERROR(storageCtl, COMGETTER(ControllerType)(&ctlType)); 392 CHECK_ERROR(machine, DetachDevice(Bstr(pszCtl).raw(), port, device)); 410 CHECK_ERROR(machine, UnmountMedium(Bstr(pszCtl).raw(), 422 CHECK_ERROR(machine, AttachDeviceWithoutMedium(Bstr(pszCtl).raw(), port, device, 442 CHECK_ERROR(systemProperties, GetDeviceTypesForStorageBus(storageBus, ComSafeArrayAsOutParam(saDeviceTypes))); 460 CHECK_ERROR(machine, AttachDeviceWithoutMedium(Bstr(pszCtl).raw(), port, device, 501 CHECK_ERROR( [all...] |
H A D | VBoxManageMisc.cpp | 83 CHECK_ERROR(a->virtualBox, OpenMachine(Bstr(szVMFileAbs).raw(), 87 CHECK_ERROR(a->virtualBox, OpenMachine(Bstr(a->argv[0]).raw(), 92 CHECK_ERROR(a->virtualBox, RegisterMachine(machine)); 574 CHECK_ERROR(a->virtualBox, FindMachine(Bstr(pszVM).raw(), 591 CHECK_ERROR(machine, LaunchVMProcess(a->session, sessionType.raw(), 596 CHECK_ERROR(progress, WaitForCompletion(-1)); 600 CHECK_ERROR(progress, COMGETTER(Completed)(&completed)); 606 CHECK_ERROR(progress, COMGETTER(ResultCode)(&iRc)); 642 CHECK_ERROR(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(), 671 CHECK_ERROR( [all...] |
H A D | VBoxManageMetrics.cpp | 74 CHECK_ERROR(aVirtualBox, COMGETTER(Host)(host.asOutParam())); 135 CHECK_ERROR(machine, COMGETTER(Name)(name.asOutParam())); 156 CHECK_ERROR(metrics[i], COMGETTER(Object)(object.asOutParam())); 157 CHECK_ERROR(metrics[i], COMGETTER(MetricName)(metricName.asOutParam())); 188 CHECK_ERROR(performanceCollector, 202 CHECK_ERROR(metricInfo[i], COMGETTER(Object)(object.asOutParam())); 203 CHECK_ERROR(metricInfo[i], COMGETTER(MetricName)(metricName.asOutParam())); 204 CHECK_ERROR(metricInfo[i], COMGETTER(Period)(&period)); 205 CHECK_ERROR(metricInfo[i], COMGETTER(Count)(&count)); 206 CHECK_ERROR(metricInf [all...] |
H A D | VBoxManageGuestProp.cpp | 92 CHECK_ERROR(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(), 105 CHECK_ERROR(machine, GetGuestProperty(Bstr(a->argv[1]).raw(), 153 CHECK_ERROR(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(), 164 CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName).raw(), 167 CHECK_ERROR(machine, SetGuestProperty(Bstr(pszName).raw(), 172 CHECK_ERROR(machine, SaveSettings()); 197 CHECK_ERROR(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(), 207 CHECK_ERROR(machine, DeleteGuestProperty(Bstr(pszName).raw())); 210 CHECK_ERROR(machine, SaveSettings()); 248 CHECK_ERROR( [all...] |
H A D | VBoxManageList.cpp | 87 CHECK_ERROR(pVirtualBox, COMGETTER(InternalNetworks)(ComSafeArrayAsOutParam(internalNetworks))); 109 CHECK_ERROR(pVirtualBox, COMGETTER(Host)(host.asOutParam())); 113 CHECK_ERROR(host, FindHostNetworkInterfacesOfType(HostNetworkInterfaceType_Bridged, 116 CHECK_ERROR(host, FindHostNetworkInterfacesOfType(HostNetworkInterfaceType_HostOnly, 119 CHECK_ERROR(host, COMGETTER(NetworkInterfaces)(ComSafeArrayAsOutParam(hostNetworkInterfaces))); 182 CHECK_ERROR(pVirtualBox, COMGETTER(Host)(Host.asOutParam())); 187 CHECK_ERROR(Host, COMGETTER(UTCTime)(&u64UtcTime)); 193 CHECK_ERROR(Host, COMGETTER(ProcessorOnlineCount)(&processorOnlineCount)); 196 CHECK_ERROR(Host, COMGETTER(ProcessorCount)(&processorCount)); 199 CHECK_ERROR(Hos [all...] |
H A D | VBoxManageNATNetwork.cpp | 312 CHECK_ERROR(a->virtualBox, CreateNATNetwork(NetName.raw(), net.asOutParam())); 326 CHECK_ERROR(net, COMSETTER(Network)(Bstr(pNetworkCidr).raw())); 332 CHECK_ERROR(net, COMSETTER(NeedDhcpServer) ((BOOL)dhcp)); 339 CHECK_ERROR(net, COMSETTER(IPv6Enabled) ((BOOL)ipv6)); 349 CHECK_ERROR(net, RemovePortForwardRule((BOOL)(*it).fIPv6, 369 CHECK_ERROR(net, AddPortForwardRule((BOOL)(*it).fPfrIPv6, 434 CHECK_ERROR(net, COMSETTER(Enabled) ((BOOL)enable)); 442 CHECK_ERROR(a->virtualBox, RemoveNATNetwork(net)); 449 CHECK_ERROR(net, Start(Bstr("whatever").raw())); 456 CHECK_ERROR(ne [all...] |
H A D | VBoxManageHostonly.cpp | 69 CHECK_ERROR(hif, COMGETTER(Name) (name.asOutParam())); 214 CHECK_ERROR(a->virtualBox, COMGETTER(Host)(host.asOutParam())); 217 CHECK_ERROR(host, FindHostNetworkInterfaceByName(name.raw(), 225 CHECK_ERROR(hif, EnableDynamicIPConfig ()); 232 CHECK_ERROR(hif, EnableStaticIPConfig(Bstr(pIp).raw(), 241 CHECK_ERROR(hif, COMGETTER(IPV6Supported)(&bIpV6Supported)); 250 CHECK_ERROR(hif, EnableStaticIPConfigV6(ipv6str.raw(),
|
H A D | VBoxManageDHCPServer.cpp | 343 CHECK_ERROR(a->virtualBox, COMGETTER(Host)(host.asOutParam())); 346 CHECK_ERROR(host, FindHostNetworkInterfaceByName(Bstr(pIfName).mutableRaw(), hif.asOutParam())); 350 CHECK_ERROR(hif, COMGETTER(NetworkName) (NetName.asOutParam())); 366 CHECK_ERROR(a->virtualBox, CreateDHCPServer(NetName.mutableRaw(), svr.asOutParam())); 379 CHECK_ERROR(svr, SetConfiguration ( 390 CHECK_ERROR(svr, COMSETTER(Enabled) ((BOOL)enable)); 402 CHECK_ERROR(svr, 418 CHECK_ERROR(svr, 428 CHECK_ERROR(a->virtualBox, RemoveDHCPServer(svr));
|
H A D | VBoxManageDisk.cpp | 173 CHECK_ERROR(a->virtualBox, OpenMedium(Bstr(pszFilenameOrUuid).raw(), 207 CHECK_ERROR(a->virtualBox, CreateMedium(Bstr(pszFormat).raw(), 388 CHECK_ERROR(pParentMedium, COMGETTER(State)(&state)); 393 CHECK_ERROR(pParentMedium, RefreshState(&state)); 445 CHECK_ERROR(pMedium, CreateBaseStorage(size, ComSafeArrayAsInParam(l_variants), pProgress.asOutParam())); 447 CHECK_ERROR(pParentMedium, CreateDiffStorage(pMedium, ComSafeArrayAsInParam(l_variants), pProgress.asOutParam())); 458 CHECK_ERROR(pMedium, COMGETTER(Id)(uuid.asOutParam())); 461 //CHECK_ERROR(pMedium, Close()); 655 CHECK_ERROR(pMedium, COMGETTER(Type)(&enmCurrMediumType)); 658 CHECK_ERROR(pMediu [all...] |
H A D | VBoxManageControlVM.cpp | 95 CHECK_ERROR(a->virtualBox, FindMachine(Bstr(a->argv[0]).raw(), 264 CHECK_ERROR(sessionMachine, SaveState(progress.asOutParam())); 511 CHECK_ERROR(adapter, COMGETTER(NATEngine)(engine.asOutParam())); 521 CHECK_ERROR(engine, RemoveRedirect(Bstr(a->argv[3]).raw())); 571 CHECK_ERROR(engine, AddRedirect(Bstr(strName).raw(), proto, Bstr(strHostIp).raw(), 615 CHECK_ERROR(adapter, SetProperty(bstrName.raw(), bstrValue.raw())); 679 CHECK_ERROR(adapter, COMSETTER(PromiscModePolicy)(enmPromiscModePolicy)); 898 CHECK_ERROR(vrdeServer, SetVRDEProperty(Bstr("VideoChannel/Quality").raw(), value.raw())); 927 CHECK_ERROR(vrdeServer, SetVRDEProperty(bstrName.raw(), bstrValue.raw())); 1150 CHECK_ERROR( [all...] |
H A D | VBoxManageGuestCtrlListener.cpp | 260 CHECK_ERROR(itFile->first, COMGETTER(EventSource)(pES.asOutParam())); 262 CHECK_ERROR(pES, UnregisterListener(itFile->second.mListener)); 325 CHECK_ERROR(itProc->first, COMGETTER(EventSource)(pES.asOutParam())); 327 CHECK_ERROR(pES, UnregisterListener(itProc->second.mListener));
|
H A D | VBoxManage.cpp | 296 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw())); 580 CHECK_ERROR(virtualBox, SetSettingsSecret(Bstr(g_pszSettingsPw).raw()));
|
H A D | VBoxManageAppliance.cpp | 720 CHECK_ERROR(pVirtualBox, 723 CHECK_ERROR(systemProperties, 733 CHECK_ERROR(mediumFormat, COMGETTER(Name)(bstrFormatName.asOutParam())); 739 CHECK_ERROR(mediumFormat,
|
H A D | VBoxManageBandwidthControl.cpp | 360 CHECK_ERROR(machine, SaveSettings());
|
H A D | VBoxManageDebugVM.cpp | 654 CHECK_ERROR(pArgs->session, COMGETTER(Console)(ptrConsole.asOutParam())); 658 CHECK_ERROR(ptrConsole, COMGETTER(Debugger)(ptrDebugger.asOutParam()));
|
H A D | VBoxManageGuestCtrl.cpp | 747 CHECK_ERROR(pCtx->pGuestSession, Close()); 759 CHECK_ERROR(pCtx->handlerArg.session, UnlockMachine()); 803 CHECK_ERROR(pArg->virtualBox, FindMachine(Bstr(pszNameOrId).raw(), 809 CHECK_ERROR(machine, COMGETTER(State)(&machineState)); 3123 CHECK_ERROR(pCtx->pGuestSession, DirectoryCreateTemp(Bstr(strTemplate).raw(), 3328 CHECK_ERROR(pCtx->pGuest, UpdateGuestAdditions(Bstr(strSource).raw(), 3905 CHECK_ERROR(pCtx->pGuest, COMGETTER(EventSource)(pES.asOutParam())); 3907 CHECK_ERROR(pES, UnregisterListener(pGuestListener));
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstVBoxAPI.cpp | 64 CHECK_ERROR(pVBox, COMGETTER(Version)(bstrTmp.asOutParam())); 71 CHECK_ERROR(pVBox, COMGETTER(VersionNormalized)(bstrTmp.asOutParam())); 78 CHECK_ERROR(pVBox, COMGETTER(Revision)(&ulTmp)); 85 CHECK_ERROR(pVBox, COMGETTER(PackageType)(bstrTmp.asOutParam())); 92 CHECK_ERROR(pVBox, COMGETTER(APIVersion)(bstrTmp.asOutParam())); 99 CHECK_ERROR(pVBox, COMGETTER(HomeFolder)(bstrTmp.asOutParam())); 106 CHECK_ERROR(pVBox, COMGETTER(SettingsFilePath)(bstrTmp.asOutParam())); 114 CHECK_ERROR(pVBox, COMGETTER(GuestOSTypes)(ComSafeArrayAsOutParam(guestOSTypes))); 125 CHECK_ERROR(pVBox, CreateMachine(NULL, /** Settings */ 140 CHECK_ERROR(pVBo [all...] |
H A D | tstAPI.cpp | 69 CHECK_ERROR(machine, COMGETTER(Id)(guid.asOutParam())); 88 CHECK_ERROR(machine, COMGETTER(SettingsModified)(&modified)); 94 CHECK_ERROR(machine, COMSETTER(MemorySize)(memorySizeBig)); 145 CHECK_ERROR(machine, SaveSettings()); 178 CHECK_ERROR(machine, SetExtraData(extraDataKey.raw(), extraData.raw())); 674 CHECK_ERROR(hd, SetProperty(name, value)); 796 CHECK_ERROR(enumerator, GetNext(drive.asOutParam())); 797 CHECK_ERROR(coll, GetItemAt(1000, drive.asOutParam())); 798 CHECK_ERROR(coll, FindByName(Bstr("R:"), drive.asOutParam())); 1471 CHECK_ERROR(progres [all...] |
/vbox/src/VBox/Frontends/VBoxAutostart/ |
H A D | VBoxAutostartStart.cpp | 145 CHECK_ERROR(progress, WaitForCompletion(-1)); 149 CHECK_ERROR(progress, COMGETTER(Completed)(&completed)); 155 CHECK_ERROR(progress, COMGETTER(ResultCode)(&iRc));
|
H A D | VBoxAutostartStop.cpp | 86 CHECK_ERROR(console, COMGETTER(Machine)(machine.asOutParam())); 87 CHECK_ERROR(machine, SaveState(progress.asOutParam()));
|
/vbox/src/VBox/Frontends/VBoxHeadless/ |
H A D | VBoxHeadless.cpp | 623 CHECK_ERROR(virtualBox, SetSettingsSecret(com::Bstr(passwd).raw())); 932 CHECK_ERROR(virtualBox, SetSettingsSecret(Bstr(pcszSettingsPw).raw())); 1037 CHECK_ERROR(pVirtualBoxClient, COMGETTER(EventSource)(pES.asOutParam())); 1044 CHECK_ERROR(pES, RegisterListener(vboxClientListener, ComSafeArrayAsInParam(eventTypes), true)); 1050 CHECK_ERROR(console, COMGETTER(EventSource)(es.asOutParam())); 1059 CHECK_ERROR(es, RegisterListener(consoleListener, ComSafeArrayAsInParam(eventTypes), true)); 1212 CHECK_ERROR(virtualBox, COMGETTER(EventSource)(es.asOutParam())); 1226 CHECK_ERROR(es, RegisterListener(vboxListener, ComSafeArrayAsInParam(eventTypes), true)); 1298 CHECK_ERROR(virtualBox, COMGETTER(EventSource)(es.asOutParam())); 1300 CHECK_ERROR(e [all...] |
/vbox/src/VBox/Frontends/VBoxSDL/ |
H A D | VBoxSDL.cpp | 1433 CHECK_ERROR(pVirtualBox, SetSettingsSecret(Bstr(pcszSettingsPw).raw())); 1623 CHECK_ERROR(gpMachine, COMGETTER(StorageControllers)(ComSafeArrayAsOutParam(aStorageControllers))); 1628 CHECK_ERROR(aStorageControllers[i], COMGETTER(Bus)(&storageBus)); 1638 CHECK_ERROR(pStorageCtl, COMGETTER(Name)(bstrSCName.asOutParam())); 1644 CHECK_ERROR(gpMachine, AddStorageController(bstrSCName.raw(), 1650 CHECK_ERROR(gpMachine, AttachDevice(bstrSCName.raw(), 0, 0, 1712 CHECK_ERROR(gpMachine, COMGETTER(StorageControllers)(ComSafeArrayAsOutParam(aStorageControllers))); 1717 CHECK_ERROR(aStorageControllers[i], COMGETTER(Bus)(&storageBus)); 1727 CHECK_ERROR(pStorageCtl, COMGETTER(Name)(bstrSCName.asOutParam())); 1733 CHECK_ERROR(gpMachin [all...] |
/vbox/src/VBox/Frontends/VBoxHeadless/testcase/ |
H A D | tstHeadless.cpp | 193 CHECK_ERROR(session, UnlockMachine());
|
/vbox/include/VBox/com/ |
H A D | errorprint.h | 64 #define CHECK_ERROR(iface, method) \ macro 72 * Same as CHECK_ERROR except that it also executes the statement |stmt| on 101 * Does the same as CHECK_ERROR(), but executes the |break| statement on 130 * Does the same as CHECK_ERROR(), but executes the |return ret| statement on 144 * Does the same as CHECK_ERROR(), but returns @a ret on failure. 146 * Unlike CHECK_ERROR and CHECK_ERROR_RET, this macro does not presuppose a
|