IWMResizerProps::GetFullCropRegion
![]() |
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
[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 Values
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
Client: Requires Windows Vista or Windows XP.
Header: Include wmcodecdsp.h.
See Also
.gif)