ID3D11Device::GetDeviceRemovedReason Method

Get the reason why the device was removed.

Syntax

public:
HRESULT GetDeviceRemovedReason()  

Return value

Type: HRESULT 

Possible return values include:

For more detail on these return codes, see DXGI_ERROR.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11Device

ID3D11Device Members