IWMResizerProps::GetFullCropRegion method (wmcodecdsp.h)
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
[out] lClipOriXSrc
Receives the left edge of the source rectangle, in pixels.
[out] lClipOriYSrc
Receives the top edge of the source rectangle, in pixels.
[out] lClipWidthSrc
Receives the width of the source rectangle, in pixels.
[out] lClipHeightSrc
Receives the height of the source rectangle, in pixels.
[out] lClipOriXDst
Receives the left edge of the destination rectangle, in pixels.
[out] lClipOriYDst
Receives the top edge of the destination rectangle, in pixels.
[out] lClipWidthDst
Receives the width of the destination rectangle, in pixels.
[out] 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 |
---|---|
|
The method succeeded. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wmcodecdsp.h |