Share via


IMSVidRect::get_Top method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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 *TopVal
);

Parameters

[out] TopVal

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

   
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidRect Interface

IMSVidRect::get_HWnd

IMSVidRect::put_Top