Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IDXGIObject::SetPrivateDataInterface method (dxgi.h)
Set an interface in the object's private data.
Syntax
HRESULT SetPrivateDataInterface(
[in] REFGUID Name,
[in] const IUnknown *pUnknown
);
Parameters
[in] Name
Type: REFGUID
A GUID identifying the interface.
[in] pUnknown
Type: const IUnknown*
A pointer to the IUnknown-derived interface to be associated with the device object. Its reference count is incremented when set, and decremented when either the IDXGIObject is destroyed, or when the data is overwritten by calling SetPrivateData or SetPrivateDataInterface with the same GUID.
Return value
Type: HRESULT
Returns one of the following DXGI_ERROR.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | dxgi.h |
| Library | DXGI.lib |
See also
Feedback
Was this page helpful?
