IWMResizerProps::GetFullCropRegion method (wmcodecdsp.h)

Retrieves the source and destination rectangles.

Syntax

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

Parameters

lClipOriXSrc

Receives the left edge of the source rectangle, in pixels.

lClipOriYSrc

Receives the top edge of the source rectangle, in pixels.

lClipWidthSrc

Receives the width of the source rectangle, in pixels.

lClipHeightSrc

Receives the height of the source rectangle, in pixels.

lClipOriXDst

Receives the left edge of the destination rectangle, in pixels.

lClipOriYDst

Receives the top edge of the destination rectangle, in pixels.

lClipWidthDst

Receives the width of the destination rectangle, in pixels.

lClipHeightDst

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 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wmcodecdsp.h

See also

IWMResizerProps Interface