CONSOLESCREENBUFFERINFO
CONSOLE_SCREEN_BUFFER_INFO is a structure used in the Windows Console API to describe the state and geometry of a console screen buffer. It is filled by the operating system when querying a console handle and is commonly used by console-based applications to inspect or adjust the display state, cursor position, and window dimensions.
Fields include: dwSize, a COORD indicating the size of the screen buffer in character columns (X) and
Typical usage involves calling GetConsoleScreenBufferInfo with a handle to the console screen buffer (for example, obtained
Relation to other types: The structure uses COORD and SMALL_RECT, while the visible characters are stored in
The structure is defined in Wincon.h and Windows.h as part of the Win32 console API and is