Microsoft DirectX 8.1 (C++)

IMSVidRect::get_Top

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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(
  LONG*  pTopVal
);

Parameters

  pTopVal

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

Return Values

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

See Also