IBasicVideo::GetSourcePosition method
The GetSourcePosition method retrieves the position of the source rectangle.
Syntax
HRESULT GetSourcePosition( [out] long *pLeft, [out] long *pTop, [out] long *pWidth, [out] long *pHeight );
Parameters
- pLeft [out]
-
Pointer to a variable that receives the x-coordinate, in pixels.
- pTop [out]
-
Pointer to a variable that receives the y-coordinate, in pixels.
- pWidth [out]
-
Pointer to a variable that receives the width, in pixels.
- pHeight [out]
-
Pointer to a variable that receives the height, in pixels.
Return value
Returns an HRESULT value.
Remarks
This method has the same effect as individually calling the IBasicVideo::get_SourceLeft, IBasicVideo::get_SourceTop, IBasicVideo::get_SourceWidth, and IBasicVideo::get_SourceHeight methods.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
See also
Send comments about this topic to Microsoft
Build date: 11/21/2012