ID3D11VideoContext::VideoProcessorGetOutputTargetRect method (d3d11.h)

Gets the current target rectangle for the video processor.

Syntax

void VideoProcessorGetOutputTargetRect(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [out] BOOL                 *Enabled,
  [out] RECT                 *pRect
);

Parameters

[in] pVideoProcessor

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

[out] Enabled

Receives the value TRUE if the target rectangle was explicitly set using the ID3D11VideoContext::VideoProcessorSetOutputTargetRect method. Receives the value FALSE if the target rectangle was disabled or was never set.

[out] pRect

If Enabled receives the value TRUE, this parameter receives the target rectangle. Otherwise, this parameter is ignored.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext