Microsoft DirectX 9.0


This topic applies to Windows XP only.

The get_Height method retrieves the height of the rectangle.


HRESULT get_Height(
  LONG*  pHeightVal



[out]  Pointer to a variable that receives the height, in pixels.

Return Values

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


Calling the IMSVidRect::put_Top method changes the height of the rectangle. For example, if the y-coordinate is zero and the height is 100, setting the y-coordinate to 10 changes the height to 90.

See Also