Compartilhar via


IBasicVideo::GetDestinationPosition

 
Microsoft DirectShow 9.0

IBasicVideo::GetDestinationPosition

The GetDestinationPosition method retrieves the position of the destination rectangle.

Syntax

  HRESULT GetDestinationPosition(
  long *pLeft,
  long *pTop,
  long *pWidth,
  long *pHeight
);

Parameters

pLeft

[out] Pointer to a variable that receives the x-coordinate, in pixels.

pTop

[out] Pointer to a variable that receives the y-coordinate, in pixels.

pWidth

[out] Pointer to a variable that receives the width, in pixels.

pHeight

[out] Pointer to a variable that receives the height, in pixels.

Return Values

Returns an HRESULT value.

Remarks

This method has the same effect as individually calling the IBasicVideo::get_DestinationLeft, IBasicVideo::get_DestinationTop, IBasicVideo::get_DestinationWidth, and IBasicVideo::get_DestinationHeight methods.

Requirements

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

Library: Use Strmiids.lib.

See Also