IWMResizerProps::GetFullCropRegion Method

Retrieves the source and destination rectangles.

Syntax

HRESULT GetFullCropRegion(
  [out]  LONG *lClipOriXSrc,
  [out]  LONG *lClipOriYSrc,
  [out]  LONG *lClipWidthSrc,
  [out]  LONG *lClipHeightSrc,
  [out]  LONG *lClipOriXDst,
  [out]  LONG *lClipOriYDst,
  [out]  LONG *lClipWidthDst,
  [out]  LONG *lClipHeightDst
);

Parameters

  • lClipOriXSrc [out]
    Receives the left edge of the source rectangle, in pixels.

  • lClipOriYSrc [out]
    Receives the top edge of the source rectangle, in pixels.

  • lClipWidthSrc [out]
    Receives the width of the source rectangle, in pixels.

  • lClipHeightSrc [out]
    Receives the height of the source rectangle, in pixels.

  • lClipOriXDst [out]
    Receives the left edge of the destination rectangle, in pixels.

  • lClipOriYDst [out]
    Receives the top edge of the destination rectangle, in pixels.

  • lClipWidthDst [out]
    Receives the width of the destination rectangle, in pixels.

  • lClipHeightDst [out]
    Receives the height of the destination rectangle, in pixels.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK

The method succeeded.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wmcodecdsp.h

See Also

IWMResizerProps Interface

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010