Skip to main content
ID3D11VideoContext::VideoProcessorGetStreamExtension method

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


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


pVideoProcessor [in]

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

StreamIndex [in]

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

pExtensionGuid [in]

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

DataSize [in]

The size of the pData buffer, in bytes.

pData [out]

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.


Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Minimum supported phone

Windows Phone 8



See also