Microsoft DirectX 8.1 (C++)

IMSVidRect::get_Height

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

The get_Height method retrieves the height of the rectangle.

Syntax

HRESULT get_Height(
  LONG*  pHeightVal
);

Parameters

  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.

Remarks

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