Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Device::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.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Show:
© 2017 Microsoft