IMSVidRect::put_Top Method
This topic applies to Windows XP or later.
The put_Top method specifies the top y-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.
Syntax
HRESULT put_Top(
[in] LONG TopVal
);
Parameters
- TopVal [in]
Specifies the top y-coordinate, in pixels.
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Setting the top y-coordinate also changes the height of the rectangle. For example, if the y-coordinate is zero and the height is 100, setting the y-coordinate to 10 changes the height to 90.
Requirements
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
IMSVidRect Interface
IMSVidRect::get_HWnd
IMSVidRect::get_Top
Send comments about this topic to Microsoft
Build date: 12/4/2008