Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure defines the coordinates of the upper-left and lower-right corners of a rectangle.

Syntax

typedef struct _RECTL { 
  LONG 
left; 
  LONG 
top; 
  LONG 
right; 
  LONG 
bottom; 
} RECTL, *PRECTL; 

Members

left

Specifies the x-coordinate of the upper-left corner of the rectangle.

top

Specifies the y-coordinate of the upper-left corner of the rectangle.

right

Specifies the x-coordinate of the lower-right corner of the rectangle.

bottom

Specifies the y-coordinate of the lower-right corner of the rectangle.

Remarks

When RECTLis passed to the FillRectfunction, the rectangle is filled up to, but not including, the right column and bottom row of pixels.

This structure is identical to the RECTstructure.

Requirements

Header windef.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FillRect