The RECT structure defines a rectangle by the coordinates of its upper-left and lower-right corners.
typedef struct tagRECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT, *PRECT, NEAR *NPRECT, FAR *LPRECT;
Declared in windef.h. Include windows.h.
The RECT structure is identical to the RECTL structure.