ID3D11DeviceChild interface

A device-child interface accesses data used by a device.

Methods

The ID3D11DeviceChild interface has these methods.

Method Description
ID3D11DeviceChild::GetDevice Get a pointer to the device that created this interface.
ID3D11DeviceChild::GetPrivateData Get application-defined data from a device child.
ID3D11DeviceChild::SetPrivateData Set application-defined data to a device child and associate that data with an application-defined guid.
ID3D11DeviceChild::SetPrivateDataInterface Associate an IUnknown-derived interface with this device child and associate that interface with an application-defined guid.

Remarks

There are several types of device child interfaces, all of which inherit this interface. They include shaders, state objects, and input layouts.

Windows Phone 8: This API is supported.

Requirements

   
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See Also

Core Interfaces

IUnknown