Skip to main content
ID3D11VideoDevice::SetPrivateData method

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

Syntax


HRESULT SetPrivateData(
  [in]       REFGUID guid,
  [in]       UINT    DataSize,
  [in] const void    *pData
);

Parameters

guid [in]

The GUID associated with the data.

DataSize [in]

The size of the data, in bytes.

pData [in]

A pointer to the data.

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoDevice