Microsoft DirectX 9.0


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.


HRESULT get_Top(
  LONG*  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