Compartilhar via


IBasicVideo::SetDestinationPosition (Compact 2013)

3/26/2014

This method sets the destination rectangle in window coordinates.

Syntax

HRESULT SetDestinationPosition(
  long Left,
  long Top,
  long Width,
  long Height
);

Parameters

  • Left
    [in] The x-axis origin of the destination window.
  • Top
    [in] The y-axis origin of the destination window.
  • Width
    [in] Width of the destination window.
  • Height
    [in] Height of the destination window.

Return Value

Returns an HRESULT value.

Remarks

This method has the same effect as individually calling the IBasicVideo::put_DestinationLeft, IBasicVideo::put_DestinationTop, IBasicVideo::put_DestinationWidth, and IBasicVideo::put_DestinationHeight methods.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IBasicVideo Interface