ID3D11DeviceChild interface

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


The ID3D11DeviceChild interface inherits from the IUnknown interface. ID3D11DeviceChild also has these types of members:


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.


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.


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