ID3D11Device::GetDeviceRemovedReason method

Get the reason why the device was removed.

Syntax


HRESULT GetDeviceRemovedReason();

Parameters

This method has no parameters.

Return value

Type: HRESULT

Possible return values include:

  • DXGI_ERROR_DEVICE_HUNG
  • DXGI_ERROR_DEVICE_REMOVED
  • DXGI_ERROR_DEVICE_RESET
  • DXGI_ERROR_DRIVER_INTERNAL_ERROR
  • DXGI_ERROR_INVALID_CALL
  • S_OK

For more detail on these return codes, see DXGI_ERROR.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11Device

 

 

Community Additions

ADD
Show:
© 2014 Microsoft