Microsoft Windows CE 3.0  

IBasicVideo::SetSourcePosition

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Sets the source rectangle and is clipped against the available video.

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

Parameters

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

Return Values

Returns an HRESULTvalue.

Remarks

This method has the same effect as individually calling the IBasicVideo::put_SourceLeft, IBasicVideo::put_SourceTop, IBasicVideo::put_SourceWidth, and IBasicVideo::put_SourceHeightmethods.

Setting this coordinate does not affect the destination rectangle height.