9 typedef struct _CONSOLE_SCREEN_BUFFER_INFO {
11 COORD dwCursorPosition;
14 COORD dwMaximumWindowSize;
15 } CONSOLE_SCREEN_BUFFER_INFO;
17 typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX {
20 COORD dwCursorPosition;
23 COORD dwMaximumWindowSize;
24 WORD wPopupAttributes;
25 BOOL bFullscreenSupported;
26 COLORREF ColorTable[16];
27 } CONSOLE_SCREEN_BUFFER_INFOEX, * PCONSOLE_SCREEN_BUFFER_INFOEX;
31 HANDLE GHPL_WINAPI GetStdHandle(DWORD handle);
34 BOOL GHPL_WINAPI SetConsoleScreenBufferSize(HANDLE
hConsoleOutput, COORD dwSize);
constexpr auto bit_count
Equal to the number of bits in the type.