IDMLObject interface (directml.h)

An interface from which IDMLDevice and IDMLDeviceChild inherit directly (and all other interfaces, indirectly). Consequently, it provides methods common to all DirectML interfaces, specifically methods to associate private data, and to annotate object names. The IDMLObject interface inherits from the IUnknown interface.

Inheritance

The IDMLObject interface inherits from the IUnknown interface.

Methods

The IDMLObject interface has these methods.

 
IDMLObject::GetPrivateData

Gets application-defined data from a DirectML device object.
IDMLObject::SetName

Associates a name with the DirectML device object. This name is for use in debug diagnostics and tools.
IDMLObject::SetPrivateData

Sets application-defined data to a DirectML device object, and associates that data with an application-defined GUID.
IDMLObject::SetPrivateDataInterface

Associates an IUnknown-derived interface with the DirectML device object, and associates that interface with an application-defined GUID.

Requirements

Requirement Value
Target Platform Windows
Header directml.h