/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/tools/ |
H A D | VBoxNetAdpUninstall.cpp | 42 HRESULT hr = CoInitialize(NULL); local 43 if(hr == S_OK) 45 hr = VBoxNetCfgWinRemoveAllNetDevicesOfId(VBOX_NETADP_HWID); 46 if(hr == S_OK) 48 hr = VBoxDrvCfgInfUninstallAllSetupDi(&GUID_DEVCLASS_NET, L"Net", VBOX_NETADP_HWID, 0/* could be SUOI_FORCEDELETE */); 49 if(hr == S_OK) 61 printf("uninstall failed, hr = 0x%x\n", hr); 68 wprintf(L"Error initializing COM (0x%x)\n", hr);
|
H A D | VBoxNetFltUninstall.cpp | 40 HRESULT hr = CoInitialize(NULL); local 41 if(hr == S_OK) 46 hr = VBoxNetCfgWinQueryINetCfg(&pnc, TRUE, VBOX_NETCFG_APP_NAME, 10000, &lpszLockedBy); 47 if(hr == S_OK) 49 hr = VBoxNetCfgWinNetFltUninstall(pnc); 50 if(hr != S_OK && hr != S_FALSE) 52 wprintf(L"error uninstalling VBoxNetFlt (0x%x)\n", hr); 64 else if(hr == NETCFG_E_NO_WRITE_LOCK && lpszLockedBy) 81 wprintf(L"Error getting the INetCfg interface (0x%x)\n", hr); [all...] |
H A D | VBoxNetLwfUninstall.cpp | 37 HRESULT hr = CoInitialize(NULL); local 38 if(hr == S_OK) 43 hr = VBoxNetCfgWinQueryINetCfg(&pnc, TRUE, VBOX_NETCFG_APP_NAME, 10000, &lpszLockedBy); 44 if(hr == S_OK) 46 hr = VBoxNetCfgWinNetLwfUninstall(pnc); 47 if(hr != S_OK) 49 wprintf(L"error uninstalling VBoxNetLwf (0x%x)\n", hr); 61 else if(hr == NETCFG_E_NO_WRITE_LOCK && lpszLockedBy) 78 wprintf(L"Error getting the INetCfg interface (0x%x)\n", hr); 88 wprintf(L"Error initializing COM (0x%x)\n", hr); [all...] |
H A D | VBoxNetAdpInstall.cpp | 40 HRESULT hr = CoInitialize(NULL); local 41 if (SUCCEEDED(hr)) 53 hr = VBoxDrvCfgInfInstall(MpInf); 54 if (FAILED(hr)) 55 printf("VBoxDrvCfgInfInstall failed %#x\n", hr); 60 hr = VBoxNetCfgWinCreateHostOnlyNetworkInterface (MpInf, true, &guid, &name, &errMsg); 61 if (SUCCEEDED(hr)) 64 hr = VBoxNetCfgWinGenHostOnlyNetworkNetworkIp(&ip, &mask); 65 if (SUCCEEDED(hr)) 70 hr 106 HRESULT hr = CoInitialize(NULL); local 138 HRESULT hr = CoInitialize(NULL); local 175 HRESULT hr = CoInitialize(NULL); local 202 HRESULT hr = CoInitialize(NULL); local [all...] |
H A D | VBoxNetFltInstall.cpp | 86 HRESULT hr = CoInitialize(NULL); local 87 if(hr == S_OK) 92 hr = VBoxNetCfgWinQueryINetCfg(&pnc, TRUE, VBOX_NETCFG_APP_NAME, 10000, &lpszLockedBy); 93 if(hr == S_OK) 107 hr = VBoxNetCfgWinNetFltInstall(pnc, aInfs, 2); 108 if(hr == S_OK) 115 wprintf(L"error installing VBoxNetFlt (0x%x)\n", hr); 120 hr = HRESULT_FROM_WIN32(GetLastError()); 121 wprintf(L"error getting full inf path for VBoxNetFltM.inf (0x%x)\n", hr); 126 hr [all...] |
H A D | VBoxNetLwfInstall.cpp | 83 HRESULT hr = CoInitialize(NULL); local 84 if(hr == S_OK) 89 hr = VBoxNetCfgWinQueryINetCfg(&pnc, TRUE, VBOX_NETCFG_APP_NAME, 10000, &lpszLockedBy); 90 if(hr == S_OK) 97 hr = VBoxNetCfgWinNetLwfInstall(pnc, Inf); 98 if(hr == S_OK) 105 wprintf(L"error installing VBoxNetLwf (0x%x)\n", hr); 110 hr = HRESULT_FROM_WIN32(GetLastError()); 111 wprintf(L"error getting full inf path for VBoxNetLwf.inf (0x%x)\n", hr); 118 else if(hr [all...] |
/vbox/src/VBox/Additions/WINNT/VBoxCredProv/ |
H A D | VBoxCredProvFactory.cpp | 70 HRESULT hr = S_OK; local 82 hr = E_NOINTERFACE; 86 hr = E_INVALIDARG; 87 return hr;
|
/vbox/src/VBox/Devices/Audio/ |
H A D | dsound_template.h | 59 HRESULT hr; local 61 hr = glue (IFACE, _Unlock) (buf, p1, blen1, p2, blen2); 62 if (FAILED (hr)) { 63 dsound_logerr (hr, "Could not unlock " NAME "\n"); 82 HRESULT hr; local 95 hr = glue (IFACE, _Lock) ( 106 if (FAILED (hr)) { 108 if (hr == DSERR_BUFFERLOST) { 110 dsound_logerr (hr, "Could not lock " NAME "\n"); 116 dsound_logerr (hr, "Coul [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/ |
H A D | stateblock.c | 146 HRESULT hr; local 158 hr = wined3d_stateblock_create(device->wined3d_device, 161 if (FAILED(hr)) 163 WARN("Failed to create wined3d stateblock, hr %#x.\n", hr); 164 return hr;
|
H A D | query.c | 134 HRESULT hr; local 139 hr = wined3d_query_issue(query->wined3d_query, flags); 142 return hr; 148 HRESULT hr; local 154 hr = wined3d_query_get_data(query->wined3d_query, data, size, flags); 157 return hr; 175 HRESULT hr; local 181 hr = wined3d_query_create(device->wined3d_device, type, &query->wined3d_query); 183 if (FAILED(hr)) 185 WARN("Failed to create wined3d query, hr [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxCrHgsmi.cpp | 29 HRESULT hr = vboxDispKmtCallbacksInit(pCallbacks); local 30 /*Assert(hr == S_OK);*/ 31 if (hr == S_OK) 64 HRESULT hr = vboxUhgsmiKmtCreate(pHgsmiGL, TRUE /* bD3D tmp for injection thread*/); local 65 Log(("CrHgsmi: faled to create KmtEsc VBOXUHGSMI instance, hr (0x%x)\n", hr)); 66 if (hr == S_OK) 79 HRESULT hr = vboxUhgsmiKmtDestroy(pHgsmiGL); local 80 Assert(hr == S_OK); 81 if (hr [all...] |
H A D | VBoxD3DIf.h | 65 HRESULT hr = S_OK; local 89 hr = pD3DIfTex->GetSurfaceLevel(iAlloc, &pSurfaceLevel); 90 Assert(hr == S_OK); 91 if (hr == S_OK) 102 hr = pD3DIfCubeTex->GetCubeMapSurface(VBOXDISP_CUBEMAP_INDEX_TO_FACE(pRc, iAlloc), 104 Assert(hr == S_OK); 105 if (hr == S_OK) 114 hr = E_FAIL; 118 return hr; 133 HRESULT hr local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | pixelshader.c | 105 HRESULT hr; local 112 hr = IWineD3DDevice_CreatePixelShader(device->WineD3DDevice, byte_code, 116 if (FAILED(hr)) 118 WARN("Failed to create wined3d pixel shader, hr %#x.\n", hr); 119 return hr;
|
H A D | swapchain.c | 83 HRESULT hr; local 89 hr = IWineD3DSwapChain_Present(This->wineD3DSwapChain, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion, 0); 92 return hr; 127 HRESULT hr; local 149 hr = IWineD3DDevice_CreateSwapChain(device->WineD3DDevice, &wined3d_parameters, 167 if (FAILED(hr)) 169 WARN("Failed to create wined3d swapchain, hr %#x.\n", hr); 170 return hr;
|
H A D | vertexshader.c | 115 HRESULT hr; local 127 hr = vertexdeclaration_init(object, device, declaration, shader_handle); 128 if (FAILED(hr)) 130 WARN("Failed to initialize vertex declaration, hr %#x.\n", hr); 132 return hr; 145 HRESULT hr; local 169 hr = vertexshader_create_vertexdeclaration(device, declaration, shader_handle, &shader->vertex_declaration); 170 if (FAILED(hr)) 172 WARN("Failed to create vertex declaration, hr [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | stateblock.c | 98 HRESULT hr; local 103 hr = IWineD3DStateBlock_Capture(This->wineD3DStateBlock); 106 return hr; 111 HRESULT hr; local 116 hr = IWineD3DStateBlock_Apply(This->wineD3DStateBlock); 119 return hr; 138 HRESULT hr; local 150 hr = IWineD3DDevice_CreateStateBlock(device->WineD3DDevice, (WINED3DSTATEBLOCKTYPE)type, 153 if (FAILED(hr)) 155 WARN("Failed to create wined3d stateblock, hr [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | DisplaySourceBitmapImpl.cpp | 90 HRESULT hr = S_OK; local 94 return hr; 104 HRESULT hr = S_OK; local 114 return hr;
|
/vbox/src/VBox/Main/src-server/win/ |
H A D | VBoxComEvents.cpp | 32 HRESULT hr = 0; local 38 hr = ::LoadRegTypeLib(LIBID_VirtualBox, kTypeLibraryMajorVersion, kTypeLibraryMinorVersion, LOCALE_SYSTEM_DEFAULT, &ptlib); 39 if (FAILED(hr)) 40 return hr; 42 hr = ptlib->GetTypeInfoOfGuid(aGuid.ref(), &ptinfo); 43 if (FAILED(hr)) 44 return hr; 47 hr = ptinfo->GetTypeAttr(&ptypeattr); 48 if (FAILED(hr)) 49 return hr; 108 HRESULT hr = lookup(event.mName, &dispid); local [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/Install/ |
H A D | USBInstall.cpp | 85 HRESULT hr = VBoxDrvCfgInfInstall(szFullPath); local 86 if (hr == S_OK)
|
H A D | USBUninstall.cpp | 72 HRESULT hr = VBoxDrvCfgInfUninstallAllF(L"USB", L"USB\\VID_80EE&PID_CAFE", SUOI_FORCEDELETE); local 73 if (hr != S_OK) 75 printf("SetupUninstallOEMInf failed with hr=0x%x\n", hr);
|
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIDnDDrag.cpp | 94 HRESULT hr = ::DoDragDrop(pDataObject, pDropSource, local 96 LogFlowFunc(("DoDragDrop ended with hr=%Rhrc, dwEffect=%RI32\n", 97 hr, dwEffect));
|
H A D | UIDnDEnumFormat_win.cpp | 33 HRESULT hr; local 50 hr = S_OK; 54 hr = E_OUTOFMEMORY; 57 LogFlowFunc(("hr=%Rhrc\n", hr)); 178 HRESULT hr; local 182 hr = S_OK; 186 hr = E_OUTOFMEMORY; 189 return hr;
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/ |
H A D | shader.c | 66 HRESULT hr; local 75 hr = d3d8_vertex_declaration_init(object, device, declaration, shader_handle); 76 if (FAILED(hr)) 78 WARN("Failed to initialize vertex declaration, hr %#x.\n", hr); 80 return hr; 93 HRESULT hr; local 114 hr = d3d8_vertexshader_create_vertexdeclaration(device, declaration, shader_handle, &shader->vertex_declaration); 115 if (FAILED(hr)) 117 WARN("Failed to create vertex declaration, hr 164 HRESULT hr; local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | palette.c | 175 HRESULT hr; local 190 hr = wined3d_palette_set_entries(palette, 0, 0, wined3d_palette_size(flags), entries); 191 if (FAILED(hr)) 193 WARN("Failed to set palette entries, hr %#x.\n", hr); 195 return hr; 205 HRESULT hr; local 214 hr = wined3d_palette_init(object, device, flags, entries, parent); 215 if (FAILED(hr)) 217 WARN("Failed to initialize palette, hr [all...] |
/vbox/src/VBox/Additions/WINNT/VBoxTray/ |
H A D | VBoxDnDEnumFormat.cpp | 36 HRESULT hr; local 52 hr = S_OK; 56 hr = E_OUTOFMEMORY; 59 LogFlowFunc(("hr=%Rhrc\n", hr)); 181 HRESULT hr; local 185 hr = S_OK; 189 hr = E_OUTOFMEMORY; 192 return hr;
|