SMALL_RECT
The SMALL_RECT
structure defines the coordinates of the upper left and lower right corners of
a rectangle.
typedef struct _SMALL_RECT { // srct
SHORT
Left;
SHORT Top;
SHORT
Right;
SHORT
Bottom;
} SMALL_RECT;
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
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