ID3D11VideoContext::VideoProcessorGetStreamExtension method (d3d11.h)

Gets a driver-specific state for a video processing stream.

Syntax

APP_DEPRECATED_HRESULT VideoProcessorGetStreamExtension(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [in]  UINT                 StreamIndex,
  [in]  const GUID           *pExtensionGuid,
  [in]  UINT                 DataSize,
  [out] void                 *pData
);

Parameters

[in] pVideoProcessor

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

[in] StreamIndex

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

[in] pExtensionGuid

A pointer to a GUID that identifies the state. The meaning of this GUID is defined by the graphics driver.

[in] DataSize

The size of the pData buffer, in bytes.

[out] pData

A pointer to a buffer that receives the private state data.

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 only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext