Microsoft DirectX 8.1 (C++)

IMSVidVideoRenderer::get_ClippedSourceRect

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_ClippedSourceRect method retrieves the clipping rectangle on the video source.

Syntax

HRESULT get_ClippedSourceRect(
  IMSVidRect**  ppRect
);

Parameters

  ppRect

[out]  Address of a variable that receives an IMSVidRect interface pointer.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

If the current clipping mode is sslClipByClipRect, the VMR clips the video image to the video source rectangle, and stretches the clipped image to fill the Video Control's video window. For more information, see IMSVidVideoRenderer::put_SourceSize.

The returned IMSVidRect interface has an outstanding reference count. The caller must release the interface.

See Also