Microsoft DirectX 9.0

IMSVidRect::get_Top

This topic applies to Windows XP 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