Associates an IUnknown-derived interface with the device object and associates that interface with an application-defined GUID.
HRESULT SetPrivateDataInterface( REFGUID guid, const IUnknown *pData );
The GUID to associate with the interface.
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.