Skip to main content
ID3D11VideoContext::VideoProcessorGetStreamSourceRect method

Gets the source rectangle for an input stream on the video processor.


void VideoProcessorGetStreamSourceRect(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [in]  UINT                 StreamIndex,
  [out] BOOL                 *pEnabled,
  [out] RECT                 *pRect


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.

pEnabled [out]

Receives the value TRUE if the source rectangle is enabled, or FALSE otherwise.

pRect [out]

A pointer to a RECT structure that receives the source rectangle.

Return value

This method does not return a value.


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



See also