Lines Matching refs:hResult
119 HRESULT hResult = E_FAIL; in Process() local
122 return hResult; in Process()
130 hResult = Init (bWindowed); in Process()
131 if (SUCCEEDED (hResult)) in Process()
137 hResult = Render (pDst, pInfo); in Process()
140 hResult = Dump (pDst, pInfo, pFp); in Process()
145 return hResult; in Process()
149 HRESULT hResult = E_FAIL; in Render() local
161 hResult = InitResource (NULL, pInfo); in Render()
162 if (SUCCEEDED (hResult)) in Render()
163 hResult = Dump2Surface (pDst, m_lpD3D9RawSurfaceShare, pInfo->UsrData.sSystemBuffer.iWidth, in Render()
166 if (SUCCEEDED (hResult)) { in Render()
168 hResult = m_lpD3D9Device->GetBackBuffer (0, 0, D3DBACKBUFFER_TYPE_MONO, &pBackBuffer); in Render()
169 …hResult = m_lpD3D9Device->StretchRect (m_lpD3D9RawSurfaceShare, NULL, pBackBuffer, NULL, D3DTEXF_N… in Render()
170 hResult = m_lpD3D9Device->Present (0, 0, NULL, NULL); in Render()
173 return hResult; in Render()
177 HRESULT hResult = E_FAIL; in Dump() local
190 return hResult; in Dump()
194 HRESULT hResult = S_OK; in InitResource() local
219 hResult = m_lpD3D9->GetAdapterDisplayMode (uiAdapter, &D3DDisplayMode); in InitResource()
231 …hResult = m_lpD3D9->CreateDevice (uiAdapter, D3DDevType, NULL, dwBehaviorFlags, &m_d3dpp, &m_lpD3D… in InitResource()
237 …hResult = m_lpD3D9Device->CreateOffscreenPlainSurface (iWidth, iHeight, (D3DFORMAT)D3Dformat, (D3D… in InitResource()
243 hResult = E_FAIL; in InitResource()
245 return hResult; in InitResource()
300 HRESULT hResult = E_FAIL; in Process() local
303 return hResult; in Process()
311 hResult = Init (bWindowed); in Process()
312 if (SUCCEEDED (hResult)) in Process()
318 hResult = Render (pDst, pInfo); in Process()
321 hResult = Dump (pDst, pInfo, pFp); in Process()
326 return hResult; in Process()
330 HRESULT hResult = E_FAIL; in Render() local
343 hResult = InitResource (NULL, pInfo); in Render()
344 if (SUCCEEDED (hResult)) in Render()
345 hResult = Dump2Surface (pDst, m_lpD3D9RawSurfaceShare, pInfo->UsrData.sSystemBuffer.iWidth, in Render()
348 if (SUCCEEDED (hResult)) { in Render()
350 hResult = m_lpD3D9Device->GetBackBuffer (0, 0, D3DBACKBUFFER_TYPE_MONO, &pBackBuffer); in Render()
351 …hResult = m_lpD3D9Device->StretchRect (m_lpD3D9RawSurfaceShare, NULL, pBackBuffer, NULL, D3DTEXF_N… in Render()
352 hResult = m_lpD3D9Device->PresentEx (0, 0, NULL, NULL, 0); in Render()
355 return hResult; in Render()
359 HRESULT hResult = E_FAIL; in Dump() local
372 return hResult; in Dump()
376 HRESULT hResult = S_OK; in InitResource() local
400 hResult = m_lpD3D9->GetAdapterDisplayModeEx (uiAdapter, &D3DDisplayMode, NULL); in InitResource()
412 …hResult = m_lpD3D9->CreateDeviceEx (uiAdapter, D3DDevType, NULL, dwBehaviorFlags, &m_d3dpp, NULL, … in InitResource()
413 if (FAILED (hResult)) { in InitResource()
414 return hResult; in InitResource()
420 …hResult = m_lpD3D9Device->CreateOffscreenPlainSurface (iWidth, iHeight, (D3DFORMAT)D3Dformat, (D3D… in InitResource()
425 hResult = E_FAIL; in InitResource()
427 return hResult; in InitResource()
432 HRESULT hResult = E_FAIL; in Dump2Surface() local
435 return hResult; in Dump2Surface()
439 hResult = pSurfaceData->LockRect (&sD3DLockedRect, NULL, 0); in Dump2Surface()
460 return hResult; in Dump2Surface()
584 HRESULT hResult = S_OK; in Process() local
586 hResult = ((CD3D9Utils*)hHandle)->Process (pDst, pInfo, pFp); in Process()
589 hResult = ((CD3D9ExUtils*)hHandle)->Process (pDst, pInfo, pFp); in Process()
591 iRet = !SUCCEEDED (hResult); in Process()