ID3D12Object::SetPrivateDataInterface method (d3d12.h)
Associates an IUnknown-derived interface with the device object and associates that interface with an application-defined GUID.
HRESULT SetPrivateDataInterface( [in] REFGUID guid, [in, optional] const IUnknown *pData );
The GUID to associate with the interface.
[in, optional] pData
Type: const IUnknown*
A pointer to the IUnknown-derived interface to be associated with the device object.
This method returns one of the Direct3D 12 Return Codes.