다음을 통해 공유


IMSVidVideoRenderer::get_ClippedSourceRect method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

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

Parameters

[out] pRect

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

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidVideoRenderer Interface

IMSVidVideoRenderer::put_ClippedSourceRect