SMALL_RECT

typedef struct _SMALL_RECT { /* srct */

SHORT Left;

SHORT Top;

SHORT Right;

SHORT Bottom;

} SMALL_RECT, *PSMALL_RECT;

The SMALL_RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle. 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.

Members

Left

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

Top

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

Right

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

Bottom

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

See Also

RECT