Associates an IGraphicsUnknown-derived interface with this device child and associate that interface with an application-defined guid.
public:
HRESULT SetPrivateDataInterfaceGraphics(
REFGUID guid,
const IGraphicsUnknown *pData
)
guid
Type: REFGUID
[in] Guid associated with the interface.
pData
Type: IGraphicsUnknown *
[in, optional] Pointer to an IGraphicsUnknown-derived interface to be associated with the device child.
Type: HRESULT
One of the Direct3D 11 return codes.
When this method is called, ::addref() will be called on the IGraphicsUnknown-derived interface.
When the device child is destroyed, ::release() will be called on the IGraphicsUnknown-derived interface.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.