Microsoft DirectX 9.0


This topic applies to Windows XP only.

The get_Left method retrieves the left x-coordinate of the rectangle. This coordinate is relative to the rectangle's associated window.


HRESULT get_Left(
  LONG*  pLeftVal



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

Return Values

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

See Also