ID3D11VideoDevice::SetPrivateDataInterface method

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

Syntax


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

Parameters

guid [in]

The GUID associated with the pointer.

pData [in]

A pointer to the IUnknown interface.

Return value

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

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoDevice

 

 

Show: