IDMLDevice::GetDeviceRemovedReason method (directml.h)

Retrieves the reason that the DirectML device was removed.

Syntax

HRESULT GetDeviceRemovedReason();

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

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

See also

IDMLDevice