ID3D11Device::GetDeviceRemovedReason method (d3d11.h)
Get the reason why the device was removed.
Syntax
HRESULT GetDeviceRemovedReason();
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
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11.h |
Library | D3D11.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for