/vbox/src/VBox/Main/src-server/ |
H A D | ProgressProxyImpl.cpp | 156 HRESULT hrc = S_OK; local 158 hrc = Progress::i_notifyComplete(aResultCode); 159 return hrc; 173 HRESULT hrc = S_OK; local 178 hrc = Progress::i_notifyCompleteV(aResultCode, aIID, pcszComponent, aText, va); 181 return hrc; 201 HRESULT hrc = pOtherProgress->COMGETTER(OperationCount)(&cOperations); local 202 if (FAILED(hrc)) 206 hrc = pOtherProgress->COMGETTER(Description)(bstrOperationDescription.asOutParam()); 207 if (FAILED(hrc)) 313 HRESULT hrc; local 422 HRESULT hrc = autoCaller.rc(); local 448 HRESULT hrc = autoCaller.rc(); local 480 HRESULT hrc = autoCaller.rc(); local 504 HRESULT hrc = autoCaller.rc(); local 541 HRESULT hrc = autoCaller.rc(); local 563 HRESULT hrc = autoCaller.rc(); local 580 HRESULT hrc = autoCaller.rc(); local 614 HRESULT hrc; local 632 HRESULT hrc = autoCaller.rc(); local 667 HRESULT hrc = autoCaller.rc(); local [all...] |
H A D | VRDEServerImpl.cpp | 522 HRESULT hrc = COMGETTER(VRDEExtPack)(bstrExtPack.asOutParam()); local 523 Log(("VRDEPROP: get extpack hrc 0x%08X, isEmpty %d\n", hrc, bstrExtPack.isEmpty())); 524 if (FAILED(hrc)) 525 return hrc; 678 HRESULT hrc = mParent->i_getVirtualBox()->COMGETTER(SystemProperties)(systemProperties.asOutParam()); local 679 if (SUCCEEDED(hrc)) 682 hrc = systemProperties->COMGETTER(VRDEAuthLibrary)(strlib.asOutParam()); 683 if (SUCCEEDED(hrc)) 687 if (FAILED(hrc)) 798 HRESULT hrc = S_OK; local 836 HRESULT hrc = S_OK; local [all...] |
H A D | NetworkAdapterImpl.cpp | 801 HRESULT hrc = autoCaller.rc(); local 803 if (SUCCEEDED(hrc)) 818 return hrc; 1300 HRESULT hrc = S_OK; local 1307 hrc = mParent->i_getBandwidthGroup(mData->mBandwidthGroup, pBwGroup, true /* fSetError */); 1309 Assert(SUCCEEDED(hrc)); /* This is not allowed to fail because the existence 1311 if (SUCCEEDED(hrc)) 1316 return hrc; 1339 HRESULT hrc = mParent->i_getBandwidthGroup(strBwGroup, pBwGroup, false /* fSetError */); local 1340 NOREF(hrc); 1371 HRESULT hrc = mParent->i_getBandwidthGroup(mData->mBandwidthGroup, pOldBwGroup, false /* fSetError */); local 1396 HRESULT hrc; local 1419 HRESULT hrc; local [all...] |
/vbox/src/VBox/Runtime/r3/win/ |
H A D | RTSystemQueryDmiString-win.cpp | 50 HRESULT hrc = CoInitializeEx(0, COINIT_MULTITHREADED); local 51 if (SUCCEEDED(hrc)) 53 hrc = CoInitializeSecurity(NULL, 62 if (hrc == RPC_E_TOO_LATE) 63 hrc = S_OK; 64 else if (FAILED(hrc)) 67 return hrc; 116 HRESULT hrc = pLocator->ConnectServer(pBStrServer, 124 if (SUCCEEDED(hrc)) 126 hrc 169 HRESULT hrc = rtSystemDmiWinInitialize(); local [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | USBDeviceImpl.cpp | 60 HRESULT hrc = aUSBDevice->COMGETTER(VendorId)(&unconst(mData.vendorId)); local 61 ComAssertComRCRet(hrc, hrc); 64 hrc = aUSBDevice->COMGETTER(ProductId)(&unconst(mData.productId)); 65 ComAssertComRCRet(hrc, hrc); 67 hrc = aUSBDevice->COMGETTER(Revision)(&unconst(mData.revision)); 68 ComAssertComRCRet(hrc, hrc); 73 hrc [all...] |
H A D | MachineDebuggerImpl.cpp | 131 HRESULT hrc = ptrVM.rc(); local 132 if (SUCCEEDED(hrc)) 137 return hrc; 150 HRESULT hrc = ptrVM.rc(); local 151 if (SUCCEEDED(hrc)) 156 return hrc; 171 HRESULT hrc = autoCaller.rc(); local 172 if (SUCCEEDED(hrc)) 181 hrc = ptrVM.rc(); 182 if (SUCCEEDED(hrc)) 200 HRESULT hrc = autoCaller.rc(); local 465 HRESULT hrc = ptrVM.rc(); local 511 HRESULT hrc = i_logStringProps(RTLogGetDefaultInstance(), RTLogGetFlags, "RTGetFlags", aLogDbgFlags); local 518 HRESULT hrc = i_logStringProps(RTLogGetDefaultInstance(), RTLogGetGroupSettings, "RTLogGetGroupSettings", aLogDbgGroups); local 525 HRESULT hrc = i_logStringProps(RTLogGetDefaultInstance(), RTLogGetDestinations, "RTLogGetDestinations", aLogDbgDestinations); local 531 HRESULT hrc = i_logStringProps(RTLogRelDefaultInstance(), RTLogGetFlags, "RTGetFlags", aLogRelFlags); local 538 HRESULT hrc = i_logStringProps(RTLogRelDefaultInstance(), RTLogGetGroupSettings, "RTLogGetGroupSettings", aLogRelGroups); local 545 HRESULT hrc = i_logStringProps(RTLogRelDefaultInstance(), RTLogGetDestinations, "RTLogGetDestinations", aLogRelDestinations); local 635 HRESULT hrc = ptrVM.rc(); local 666 HRESULT hrc = ptrVM.rc(); local 727 HRESULT hrc = ptrVM.rc(); local 742 HRESULT hrc = S_OK; local 782 HRESULT hrc = ptrVM.rc(); local 806 HRESULT hrc = ptrVM.rc(); local 940 HRESULT hrc = autoCaller.rc(); local 988 HRESULT hrc = ptrVM.rc(); local 1005 HRESULT hrc = ptrVM.rc(); local 1022 HRESULT hrc = ptrVM.rc(); local 1039 HRESULT hrc = ptrVM.rc(); local 1080 HRESULT hrc = ptrVM.rc(); local 1135 HRESULT hrc = ptrVM.rc(); local 1179 HRESULT hrc = ptrVM.rc(); local [all...] |
H A D | ConsoleImplTeleporter.cpp | 591 HRESULT hrc = pState->mptrProgress->SetCurrentOperationProgress(uPercent); local 592 if (FAILED(hrc)) 596 hrc = pState->mptrProgress->COMGETTER(Canceled)(&fCanceled); 597 if (SUCCEEDED(hrc) && fCanceled) 637 HRESULT hrc = pState->mptrProgress->COMGETTER(Canceled)(&fCanceled); local 638 if (FAILED(hrc)) 639 return hrc; 670 hrc = i_teleporterSrcReadACK(pState, "password", tr("Invalid password")); 671 if (FAILED(hrc)) 672 return hrc; 769 HRESULT hrc = ptrVM.rc(); local 971 HRESULT hrc = ptrProgress.createObject(); local 1043 HRESULT hrc = pMachine->COMGETTER(TeleporterPort)(&uPort); local 1308 AssertMsg(SUCCEEDED(hrc) || hrc == E_FAIL, ("%Rhrc\\n", hrc)); local [all...] |
H A D | ConsoleImpl2.cpp | 245 HRESULT hrc = vbox->CheckFirmwarePresent(aFirmwareType, empty.raw(), local 247 AssertComRCReturn(hrc, Global::vboxStatusCodeFromCOM(hrc)); 494 HRESULT hrc = pMachine->GetExtraData(bstrName.raw(), bstrValue.asOutParam()); local 495 if (FAILED(hrc)) 496 throw hrc; 499 hrc = pVirtualBox->GetExtraData(bstrName.raw(), bstrValue.asOutParam()); 500 if (FAILED(hrc)) 501 throw hrc; 529 HRESULT hrc; local 609 HRESULT hrc = S_OK; local 830 HRESULT hrc; local 982 HRESULT hrc; local 3334 HRESULT hrc = pVirtualBox->GetExtraDataKeys(ComSafeArrayAsOutParam(aGlobalExtraDataKeys)); local 3335 AssertMsg(SUCCEEDED(hrc), ("VirtualBox::GetExtraDataKeys failed with %Rhrc\\n", hrc)); local 3341 AssertMsg(SUCCEEDED(hrc), ("Machine::GetExtraDataKeys failed with %Rhrc\\n", hrc)); local 3490 HRESULT hrc = pVirtualBox->GetExtraDataKeys(ComSafeArrayAsOutParam(aGlobalExtraDataKeys)); local 3491 AssertMsg(SUCCEEDED(hrc), ("VirtualBox::GetExtraDataKeys failed with %Rhrc\\n", hrc)); local 3513 HRESULT hrc = pMachine->GetExtraDataKeys(ComSafeArrayAsOutParam(aMachineExtraDataKeys)); local 3514 AssertMsg(SUCCEEDED(hrc), ("Machine::GetExtraDataKeys failed with %Rhrc\\n", hrc)); local 3548 HRESULT hrc; local 3729 HRESULT hrc; local 4216 HRESULT hrc; local 4490 HRESULT hrc = pMedium->GetProperties(NULL, ComSafeArrayAsOutParam(aNames), local 4582 HRESULT hrc; local 5774 HRESULT hrc; local 5779 AssertLogRelMsgReturn(SUCCEEDED(hrc), ("hrc=%Rhrc\\n", hrc), VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR); local [all...] |
H A D | EmulatedUSBImpl.cpp | 189 HRESULT hrc = S_OK; local 195 hrc = mPath.assignEx(*aPath); 196 if (SUCCEEDED(hrc)) 198 hrc = mSettings.assignEx(*aSettings); 201 if (SUCCEEDED(hrc)) 203 hrc = settingsParse(); 205 if (SUCCEEDED(hrc)) 213 if (SUCCEEDED(hrc) && RT_FAILURE(vrc)) 216 hrc = pConsole->setError(VBOX_E_IPRT_ERROR, 220 return hrc; 307 HRESULT hrc = S_OK; local 326 HRESULT hrc = S_OK; local 411 HRESULT hrc = S_OK; local 452 HRESULT hrc = S_OK; local 531 HRESULT hrc = S_OK; local [all...] |
H A D | PCIRawDevImpl.cpp | 80 HRESULT hrc = machine->COMGETTER(Parent)(vbox.asOutParam()); local 81 Assert(SUCCEEDED(hrc)); 84 hrc = vbox->COMGETTER(EventSource)(es.asOutParam()); 85 Assert(SUCCEEDED(hrc)); 88 hrc = machine->COMGETTER(Id)(bstrId.asOutParam()); 89 Assert(SUCCEEDED(hrc));
|
H A D | ConsoleImpl.cpp | 326 HRESULT hrc = S_OK; local 328 hrc = pEDCEv->COMGETTER(MachineId)(strMachineId.asOutParam()); 329 if (FAILED(hrc)) break; 331 hrc = pEDCEv->COMGETTER(Key)(strKey.asOutParam()); 332 if (FAILED(hrc)) break; 334 hrc = pEDCEv->COMGETTER(Value)(strVal.asOutParam()); 335 if (FAILED(hrc)) break; 811 HRESULT hrc = i_enumerateGuestProperties("*", names, values, timestamps, flags); local 812 if (SUCCEEDED(hrc)) 819 hrc 833 HRESULT hrc = mMachine->GetExtraData(Bstr("VBoxInternal2/EnableGuestPropertiesVRDP").raw(), local 1032 HRESULT hrc = mMachine->GetExtraData(Bstr("VBoxInternal2/TurnResetIntoPowerOff").raw(), local 1068 HRESULT hrc = mMachine->COMGETTER(Id)(id.asOutParam()); local 1422 HRESULT hrc = mMachine->COMGETTER(Id)(uuid.asOutParam()); local 1764 HRESULT hrc = pConsole->mControl->PushGuestProperty(name.raw(), local 2083 HRESULT hrc = mptrCancelableProgress->Cancel(); local 2094 HRESULT hrc = mptrCancelableProgress->Cancel(); local 2104 HRESULT hrc = mptrCancelableProgress->Cancel(); local 2114 HRESULT hrc = mptrCancelableProgress->Cancel(); local 2124 HRESULT hrc = mptrCancelableProgress->Cancel(); local 3089 HRESULT hrc = S_OK; local 3141 HRESULT hrc = S_OK; local 3905 HRESULT hrc; local 4181 HRESULT hrc; local 4343 HRESULT hrc = S_OK; local 4429 HRESULT hrc = S_OK; local 4544 HRESULT hrc = S_OK; local 4694 HRESULT hrc = S_OK; local 4798 HRESULT hrc = S_OK; local 6242 HRESULT hrc = S_OK; local 6882 HRESULT hrc = S_OK; local 7190 HRESULT hrc = mMachine->GetExtraData(Bstr("VBoxInternal2/CoreDumpEnabled").raw(), value.asOutParam()); local 8001 HRESULT hrc = mMachine->GetExtraData(BstrFmt("VBoxInternal2/SharedFoldersEnableSymlinksCreate/%s", local 8584 HRESULT hrc; local 9183 HRESULT hrc = mControl->AutoCaptureUSBDevices(); local 9299 HRESULT hrc = mControl->RunUSBDeviceFilters(pUSBDevice, &fMatched, &fMaskedIfs); local 9889 HRESULT hrc; local 9991 HRESULT hrc = pConsole->mMachine->SaveState(pProgress.asOutParam()); local [all...] |
/vbox/src/VBox/Main/testcase/ |
H A D | tstVBoxAPIPerf.cpp | 42 static HRESULT tstComExpr(HRESULT hrc, const char *pszOperation, int iLine) argument 44 if (FAILED(hrc)) 45 RTTestFailed(g_hTest, "%s failed on line %u with hrc=%Rhrc", pszOperation, iLine, hrc); 46 return hrc; 65 HRESULT hrc = pVBox->COMGETTER(Revision)(&uRev); local 66 if (FAILED(hrc)) 68 tstComExpr(hrc, "IVirtualBox::Revision", __LINE__); 88 HRESULT hrc = pVBox->COMGETTER(Version)(bstrVersion.asOutParam()); local 89 if (FAILED(hrc)) 108 HRESULT hrc = pVBox->COMGETTER(Host)(&pHost); local 169 HRESULT hrc = pVBox->COMGETTER(Host)(&pHost); local 210 HRESULT hrc = com::Initialize(); local [all...] |
H A D | tstVBoxAPI.cpp | 45 static HRESULT tstComExpr(HRESULT hrc, const char *pszOperation, int iLine) argument 47 if (FAILED(hrc)) 48 RTTestFailed(g_hTest, "%s failed on line %u with hrc=%Rhrc", pszOperation, iLine, hrc); 49 return hrc; 368 HRESULT hrc = com::Initialize(); local 369 if (SUCCEEDED(hrc)) 372 hrc = TST_COM_EXPR(ptrVBox.createLocalObject(CLSID_VirtualBox)); 373 if (SUCCEEDED(hrc)) 376 hrc [all...] |
H A D | tstGuestCtrlContextID.cpp | 43 HRESULT hrc = com::Initialize(); local 44 if (FAILED(hrc)) 46 RTTestFailed(hTest, "Failed to initialize COM (%Rhrc)!\n", hrc);
|
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | ComHostUtils.cpp | 82 HRESULT hrc = nat->COMGETTER(LocalMappings)(ComSafeArrayAsOutParam(strs)); local 83 if ( SUCCEEDED(hrc) 199 HRESULT hrc = obj.createObject(); local 200 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); 202 hrc = obj->init(new NATNetworkListener(), adapter); 203 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); 206 hrc = vboxptr->COMGETTER(EventSource)(esVBox.asOutParam()); 207 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); 211 hrc = esVBox->RegisterListener(listener, ComSafeArrayAsInParam(events), true); 212 AssertComRCReturn(hrc, VERR_INTERNAL_ERRO 222 HRESULT hrc = vboxptr->COMGETTER(EventSource)(esVBox.asOutParam()); local 238 HRESULT hrc = obj.createObject(); local 261 HRESULT hrc = vboxclientptr->COMGETTER(EventSource)(esVBox.asOutParam()); local [all...] |
H A D | utils.h | 49 HRESULT hrc = vbox->FindDHCPServerByNetworkName(com::Bstr(name.c_str()).raw(), local 51 AssertComRCReturn(hrc, VERR_NOT_FOUND); 59 HRESULT hrc = vbox->FindNATNetworkByName(com::Bstr(name.c_str()).raw(), local 62 AssertComRCReturn(hrc, VERR_NOT_FOUND);
|
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManage.cpp | 96 HRESULT hrc = progress->COMGETTER(OperationCount)(&cOperations); local 97 if (FAILED(hrc)) 99 RTStrmPrintf(g_pStdErr, "Progress object failure: %Rhrc\n", hrc); 101 return hrc; 119 hrc = progress->COMGETTER(Cancelable)(&fCancelable); 120 if (FAILED(hrc)) 130 hrc = progress->COMGETTER(Completed(&fCompleted)); 131 while (SUCCEEDED(hrc)) 138 hrc = progress->COMGETTER(Operation)(&ulOperation); 139 if (FAILED(hrc)) [all...] |
/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackManagerImpl.cpp | 445 HRESULT hrc = S_OK; local 489 hrc = setError(E_FAIL, tr("%s"), m->strWhyUnusable.c_str()); 512 hrc = setError(VBOX_E_IPRT_ERROR, tr("RTVfsFsStrmNext failed: %Rrc"), vrc); 514 hrc = setError(E_UNEXPECTED, tr("'%s' was found in the manifest but not in the tarball"), szName); 545 hrc = S_OK; 548 hrc = setError(VBOX_E_IPRT_ERROR, 553 hrc = setError(VBOX_E_IPRT_ERROR, tr("Failed to read '%s': %Rrc"), szName, vrc); 557 hrc = setError(E_OUTOFMEMORY, tr("Failed to allocate %zu bytes for '%s'"), cbFile, szName); 560 hrc = setError(VBOX_E_IPRT_ERROR, tr("RTVfsIoStrmQueryInfo on '%s': %Rrc"), szName, vrc); 572 hrc 590 HRESULT hrc = S_OK; local 808 HRESULT hrc = S_OK; local 1010 HRESULT hrc; local 1035 HRESULT hrc = i_checkVrde(); local 1060 HRESULT hrc; local 1709 HRESULT hrc = S_OK; local 1877 HRESULT hrc = S_OK; local 1974 HRESULT hrc = S_OK; local 2009 HRESULT hrc = NewExtPackFile.createObject(); local 2024 HRESULT hrc = S_OK; local 2081 HRESULT hrc = autoCaller.rc(); local 2418 HRESULT hrc; local 2538 HRESULT hrc = pJob->ptrExtPackMgr->i_doInstall(pJob->ptrExtPackFile, pJob->fReplace, &pJob->strDisplayInfo); local 2568 HRESULT hrc = autoCaller.rc(); local 2669 HRESULT hrc = pJob->ptrExtPackMgr->i_doUninstall(&pJob->strName, pJob->fForcedRemoval, &pJob->strDisplayInfo); local 2694 HRESULT hrc = autoCaller.rc(); local 2779 HRESULT hrc = autoCaller.rc(); local 2806 HRESULT hrc = autoCaller.rc(); local 2832 HRESULT hrc = autoCaller.rc(); local 2855 HRESULT hrc = autoCaller.rc(); local 2884 HRESULT hrc = autoCaller.rc(); local 2911 HRESULT hrc = autoCaller.rc(); local 2933 HRESULT hrc = autoCaller.rc(); local 2962 HRESULT hrc = autoCaller.rc(); local 2991 HRESULT hrc = autoCaller.rc(); local 3019 HRESULT hrc = autoCaller.rc(); local 3047 HRESULT hrc = autoCaller.rc(); local 3063 HRESULT hrc = autoCaller.rc(); local [all...] |
/vbox/src/VBox/Debugger/ |
H A D | VBoxDbgGui.cpp | 65 HRESULT hrc = m_pSession->COMGETTER(Machine)(&m_pMachine); local 66 if (SUCCEEDED(hrc)) 68 hrc = m_pSession->COMGETTER(Console)(&m_pConsole); 69 if (SUCCEEDED(hrc)) 71 hrc = m_pConsole->COMGETTER(Debugger)(&m_pMachineDebugger); 72 if (SUCCEEDED(hrc)) 78 hrc = m_pMachineDebugger->COMGETTER(VM)(&llVM); 79 if (SUCCEEDED(hrc))
|
/vbox/src/VBox/Frontends/VBoxAutostart/ |
H A D | VBoxAutostart-posix.cpp | 141 HRESULT hrc = progress->COMGETTER(OperationCount)(&cOperations); local 142 if (FAILED(hrc)) 144 RTStrmPrintf(g_pStdErr, "Progress object failure: %Rhrc\n", hrc); 146 return hrc; 160 hrc = progress->COMGETTER(Cancelable)(&fCancelable); 161 if (FAILED(hrc)) 171 hrc = progress->COMGETTER(Completed(&fCompleted)); 172 while (SUCCEEDED(hrc)) 197 hrc = progress->Cancel(); 198 if (SUCCEEDED(hrc)) [all...] |
H A D | VBoxAutostartUtils.cpp | 242 HRESULT hrc = com::Initialize(); 244 if (hrc == NS_ERROR_FILE_ACCESS_DENIED) 252 if (FAILED(hrc)) 253 return RTMsgErrorExit(RTEXITCODE_FAILURE, "Failed to initialize COM (%Rhrc)!", hrc); 255 hrc = g_pVirtualBoxClient.createInprocObject(CLSID_VirtualBoxClient); 256 if (FAILED(hrc)) 258 RTMsgError("Failed to create the VirtualBoxClient object (%Rhrc)!", hrc); 262 com::GluePrintRCMessage(hrc);
|
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | VBoxNetLwipNAT.cpp | 208 HRESULT hrc = S_OK; local 222 hrc = evSettings->COMGETTER(AdvertiseDefaultIPv6RouteEnabled)(&fIPv6DefaultRoute); 223 AssertReturn(SUCCEEDED(hrc), hrc); local 246 hrc = pfEvt->COMGETTER(Create)(&fCreateFW); 247 AssertReturn(SUCCEEDED(hrc), hrc); local 249 hrc = pfEvt->COMGETTER(Ipv6)(&fIPv6FW); 250 AssertReturn(SUCCEEDED(hrc), hrc); local 253 AssertReturn(SUCCEEDED(hrc), hrc); local 256 AssertReturn(SUCCEEDED(hrc), hrc); local 259 AssertReturn(SUCCEEDED(hrc), hrc); local 262 AssertReturn(SUCCEEDED(hrc), hrc); local 265 AssertReturn(SUCCEEDED(hrc), hrc); local 268 AssertReturn(SUCCEEDED(hrc), hrc); local 420 HRESULT hrc = com::Initialize(); local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | vertexshader.c | 166 HRESULT hrc = D3D_OK; local 171 hrc = IWineD3DDevice_SetVertexShader(This->WineD3DDevice, pShader==NULL?NULL:((IDirect3DVertexShader9Impl *)pShader)->wineD3DVertexShader); 174 TRACE("(%p) : returning hr(%u)\n", This, hrc); 175 return hrc; 181 HRESULT hrc = D3D_OK; local 186 hrc = IWineD3DDevice_GetVertexShader(This->WineD3DDevice, &pShader); 187 if (SUCCEEDED(hrc)) 191 hrc = IWineD3DVertexShader_GetParent(pShader, (IUnknown **)ppShader); 201 WARN("(%p) : Call to IWineD3DDevice_GetVertexShader failed %u (device %p)\n", This, hrc, This->WineD3DDevice); 206 return hrc; [all...] |
H A D | swapchain.c | 120 HRESULT hrc = D3D_OK; local 127 hrc = IWineD3DSwapChain_GetBackBuffer(This->wineD3DSwapChain, iBackBuffer, (WINED3DBACKBUFFER_TYPE) Type, &mySurface); 128 if (hrc == D3D_OK && NULL != mySurface) { 135 return hrc; 283 HRESULT hrc = D3D_OK; local 290 hrc = IWineD3DDevice_GetSwapChain(This->WineD3DDevice, iSwapChain, &swapchain); 291 if (hrc == D3D_OK && NULL != swapchain) { 299 return hrc;
|
/vbox/src/VBox/Frontends/VBoxHeadless/ |
H A D | VBoxHeadless.cpp | 162 HRESULT hrc; local 167 hrc = gConsole->COMGETTER(Machine)(pMachine.asOutParam()); 168 if (SUCCEEDED(hrc) && pMachine) 171 hrc = pMachine->COMGETTER(Id)(gpMachineId.asOutParam()); 172 AssertComRC(hrc); 173 hrc = pChangedEvent->COMGETTER(MachineId)(machineId.asOutParam()); 174 AssertComRC(hrc); 176 hrc = VBOX_E_OBJECT_NOT_FOUND; 180 hrc = VBOX_E_INVALID_VM_STATE; 182 if (SUCCEEDED(hrc)) 1280 LONG hrc; local [all...] |