Set an interface in the object's private data.
HRESULT SetPrivateDataInterface( REFGUID Name, const IUnknown *pUnknown );
A GUID identifying the interface.
Type: const IUnknown*
The interface to set.
Returns one of the following DXGI_ERROR.
This API associates an interface pointer with the object.
When the interface is set its reference count is incremented. When the data are overwritten (by calling SPD or SPDI with the same GUID) or the object is destroyed, ::Release() is called and the interface's reference count is decremented.