共用方式為


IDDrawExclModeVideo::SetDrawParameters

 
Microsoft DirectShow 9.0

IDDrawExclModeVideo::SetDrawParameters

The SetDrawParameters method specifies which part of the original video will appear at which position of the screen.

Syntax

  HRESULT SetDrawParameters(
  const RECT *pSrcRect,
  const RECT *pDestRect
);

Parameters

pSrcRect

[in] Pointer to the RECT structure of the original video.

pDestRect

[in] Pointer to the RECT that indicates where the video will appear on the screen.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also