Share via


IMSVidVideoRenderer::get_ClippedSourceRect

 
Microsoft DirectShow 9.0

IMSVidVideoRenderer::get_ClippedSourceRect

This topic applies to Windows XP or later.

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

Syntax

  HRESULT get_ClippedSourceRect(
  
  IMSVidRect**
  
  pRect
  
  );

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also