IDMLDevice::GetDeviceRemovedReason method (directml.h)

Retrieves the reason that the DirectML device was removed.

Syntax

HRESULT GetDeviceRemovedReason();

Parameters

This method has no parameters.

Return value

Type: HRESULT

An HRESULT containing the reason that the device was removed, or S_OK if the device has not been removed.

Requirements

   
Target Platform Windows
Header directml.h
Library DirectML.lib
DLL DirectML.dll

See also

IDMLDevice