ID3D11VideoContext::VideoProcessorGetOutputTargetRect method

Gets the current target rectangle for the video processor.

Syntax


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

Parameters

pVideoProcessor [in]

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

Enabled [out]

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.

pRect [out]

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

Return value

This method does not return a value.

Requirements

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

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Show: