# SMALL_RECT

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

    typedef struct _SMALL_RECT {
      SHORT Left;
      SHORT Top;
      SHORT Right;
      SHORT Bottom;
    } SMALL_RECT;

### Members

Left
X-coordinate of the upper left corner of the rectangle.
Top
Y-coordinate of the upper left corner of the rectangle.
Right
X-coordinate of the lower right corner of the rectangle.
Bottom
Y-coordinate of the lower right corner of the rectangle.

### Remarks

This structure is used by console functions to specify rectangular areas of console screen buffers, where the coordinates specify the rows and columns of screen-buffer character cells.
See also:
RECT