Share via


IMSVidRect::get_Top Method

This topic applies to Windows XP or later.
The get_Top method retrieves the top y-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.

Syntax

HRESULT get_Top(
  [out]  LONG *pTopVal
);

Parameters

  • pTopVal [out]
    Pointer to a variable that receives the top y-coordinate, in pixels.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidRect Interface
IMSVidRect::get_HWnd
IMSVidRect::put_Top

Send comments about this topic to Microsoft

Build date: 12/4/2008