Lines Matching refs:hr
51 HRESULT hr = NineUnknown_ctor(&This->base, pParams); in NineAdapter9_ctor() local
52 if (FAILED(hr)) { return hr; } in NineAdapter9_ctor()
204 HRESULT hr; in NineAdapter9_CheckDeviceType() local
214 hr = NineAdapter9_GetScreen(This, DevType, &screen); in NineAdapter9_CheckDeviceType()
215 if (FAILED(hr)) { return hr; } in NineAdapter9_CheckDeviceType()
287 HRESULT hr; in NineAdapter9_CheckDeviceFormat() local
304 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceFormat()
305 if (FAILED(hr)) in NineAdapter9_CheckDeviceFormat()
306 return hr; in NineAdapter9_CheckDeviceFormat()
415 HRESULT hr; in NineAdapter9_CheckDeviceMultiSampleType() local
430 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceMultiSampleType()
431 if (FAILED(hr)) in NineAdapter9_CheckDeviceMultiSampleType()
432 return hr; in NineAdapter9_CheckDeviceMultiSampleType()
477 HRESULT hr; in NineAdapter9_CheckDepthStencilMatch() local
491 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDepthStencilMatch()
492 if (FAILED(hr)) { return hr; } in NineAdapter9_CheckDepthStencilMatch()
525 HRESULT hr; in NineAdapter9_CheckDeviceFormatConversion() local
534 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceFormatConversion()
535 if (FAILED(hr)) { return hr; } in NineAdapter9_CheckDeviceFormatConversion()
558 HRESULT hr; in NineAdapter9_GetDeviceCaps() local
565 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_GetDeviceCaps()
566 if (FAILED(hr)) { in NineAdapter9_GetDeviceCaps()
568 return hr; in NineAdapter9_GetDeviceCaps()
1020 HRESULT hr; in NineAdapter9_CreateDevice() local
1035 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CreateDevice()
1036 if (FAILED(hr)) { in NineAdapter9_CreateDevice()
1038 return hr; in NineAdapter9_CreateDevice()
1041 hr = NineAdapter9_GetDeviceCaps(This, DeviceType, &caps); in NineAdapter9_CreateDevice()
1042 if (FAILED(hr)) { in NineAdapter9_CreateDevice()
1044 return hr; in NineAdapter9_CreateDevice()
1052 hr = NineDevice9_new(screen, ¶ms, &caps, pPresentationParameters, in NineAdapter9_CreateDevice()
1056 if (FAILED(hr)) { in NineAdapter9_CreateDevice()
1058 return hr; in NineAdapter9_CreateDevice()
1081 HRESULT hr; in NineAdapter9_CreateDeviceEx() local
1096 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CreateDeviceEx()
1097 if (FAILED(hr)) { in NineAdapter9_CreateDeviceEx()
1099 return hr; in NineAdapter9_CreateDeviceEx()
1102 hr = NineAdapter9_GetDeviceCaps(This, DeviceType, &caps); in NineAdapter9_CreateDeviceEx()
1103 if (FAILED(hr)) { in NineAdapter9_CreateDeviceEx()
1105 return hr; in NineAdapter9_CreateDeviceEx()
1113 hr = NineDevice9Ex_new(screen, ¶ms, &caps, pPresentationParameters, in NineAdapter9_CreateDeviceEx()
1118 if (FAILED(hr)) { in NineAdapter9_CreateDeviceEx()
1120 return hr; in NineAdapter9_CreateDeviceEx()