ID3D11VideoContext::VideoProcessorSetStreamExtension method (d3d11.h)

Sets a driver-specific state on a video processing stream.


APP_DEPRECATED_HRESULT VideoProcessorSetStreamExtension(
  [in] ID3D11VideoProcessor *pVideoProcessor,
  [in] UINT                 StreamIndex,
  [in] const GUID           *pExtensionGuid,
  [in] UINT                 DataSize,
  [in] void                 *pData


[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 operation. The meaning of this GUID is defined by the graphics driver.

[in] DataSize

The size of the pData buffer, in bytes.

[in] pData

A pointer to a buffer that contains private state data. The method passes this buffer directly to the driver without validation. It is the responsibility of the driver to validate the 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]
Target Platform Windows
Header d3d11.h

See also