# RECT

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

    typedef struct _RECT {
      LONG left;
      LONG top;
      LONG right;
      LONG bottom;
    } RECT, *PRECT;

### 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

See also:
SMALL_RECT