ID3D11VideoDevice::SetPrivateDataInterface method (d3d11.h)

Sets a private IUnknown pointer on the video device and associates that pointer with a GUID.

Syntax

HRESULT SetPrivateDataInterface(
  [in] REFGUID        guid,
  [in] const IUnknown *pData
);

Parameters

[in] guid

The GUID associated with the pointer.

[in] pData

A pointer to the IUnknown interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoDevice