Share via


IMSVidVideoRenderer::get_ClippedSourceRect Method

This topic applies to Windows XP or later.
The get_ClippedSourceRect method retrieves the clipping rectangle on the video source.

Syntax

HRESULT get_ClippedSourceRect(
  [out]  IMSVidRect **ppRect
);

Parameters

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

Return Value

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.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidVideoRenderer Interface
IMSVidVideoRenderer::put_ClippedSourceRect

Send comments about this topic to Microsoft

Build date: 12/4/2008