Lines Matching refs:g_hConOut

153 static HANDLE g_hConOut = INVALID_HANDLE_VALUE;  variable
1510 SetConsoleCursorInfo(g_hConOut, &ConsoleCursorInfo); in mch_set_cursor_shape()
1512 SetConsoleCursorPosition(g_hConOut, g_coord); in mch_set_cursor_shape()
1665 if (GetConsoleScreenBufferInfo(g_hConOut, &csbi)) in WaitForChar()
1711 GetConsoleScreenBufferInfo(g_hConOut, &csbi); in WaitForChar()
1716 ResizeConBuf(g_hConOut, dwSize); in WaitForChar()
2425 if (!GetConsoleScreenBufferInfo(g_hConOut, &csbi)) in ClearConsoleBuffer()
2431 if (!FillConsoleOutputCharacter(g_hConOut, ' ', NumCells, in ClearConsoleBuffer()
2434 if (!FillConsoleOutputAttribute(g_hConOut, wAttribute, NumCells, in ClearConsoleBuffer()
2458 if (GetConsoleScreenBufferInfo(g_hConOut, &csbi)) in FitConsoleWindow()
2485 if (!SetConsoleWindowInfo(g_hConOut, TRUE, &csbi.srWindow)) in FitConsoleWindow()
2527 if (!GetConsoleScreenBufferInfo(g_hConOut, &cb->Info)) in SaveConsoleBuffer()
2593 if (!ReadConsoleOutputW(g_hConOut, // output handle in SaveConsoleBuffer()
2639 if (!SetConsoleScreenBufferSize(g_hConOut, cb->Info.dwSize)) in RestoreConsoleBuffer()
2641 if (!SetConsoleTextAttribute(g_hConOut, cb->Info.wAttributes)) in RestoreConsoleBuffer()
2652 if (!SetConsoleCursorPosition(g_hConOut, cb->Info.dwCursorPosition)) in RestoreConsoleBuffer()
2654 if (!SetConsoleWindowInfo(g_hConOut, TRUE, &cb->Info.srWindow)) in RestoreConsoleBuffer()
2667 if (!WriteConsoleOutputW(g_hConOut, // output handle in RestoreConsoleBuffer()
2826 g_hConOut = GetStdHandle(STD_OUTPUT_HANDLE); in mch_init_c()
2834 GetConsoleScreenBufferInfo(g_hConOut, &csbi); in mch_init_c()
2849 GetConsoleCursorInfo(g_hConOut, &g_cci); in mch_init_c()
2851 GetConsoleMode(g_hConOut, &g_cmodeout); in mch_init_c()
2936 SetConsoleCursorInfo(g_hConOut, &g_cci); in mch_exit_c()
2938 SetConsoleMode(g_hConOut, g_cmodeout); in mch_exit_c()
3754 GetConsoleMode(g_hConOut, &cmodeout); in mch_settmode()
3787 SetConsoleMode(g_hConOut, cmodeout); in mch_settmode()
3827 else if (GetConsoleScreenBufferInfo(g_hConOut, &csbi)) in mch_get_shellsize()
3913 if (GetConsoleScreenBufferInfo(g_hConOut, &csbi)) in ResizeConBufAndWindow()
3982 coordScreen = GetLargestConsoleWindowSize(g_hConOut); in mch_set_shellsize()
3990 ResizeConBufAndWindow(g_hConOut, Columns, Rows); in mch_set_shellsize()
5618 SetConsoleWindowInfo(g_hConOut, TRUE, &g_cbTermcap.Info.srWindow); in termcap_mode_start()
5631 ResizeConBufAndWindow(g_hConOut, Columns, Rows); in termcap_mode_start()
5685 SetConsoleCursorInfo(g_hConOut, &g_cci); in termcap_mode_end()
5694 FillConsoleOutputCharacter(g_hConOut, ' ', in termcap_mode_end()
5709 SetConsoleCursorPosition(g_hConOut, coord); in termcap_mode_end()
5743 FillConsoleOutputCharacter(g_hConOut, ' ', n, coord, &dwDummy); in clear_chars()
5744 FillConsoleOutputAttribute(g_hConOut, g_attrCurrent, n, coord, in clear_chars()
5915 ScrollConsoleScreenBuffer(g_hConOut, &source, &clip, dest, &fill); in insert_lines()
5986 ScrollConsoleScreenBuffer(g_hConOut, &source, &clip, dest, &fill); in delete_lines()
6038 SetConsoleCursorPosition(g_hConOut, g_coord); in gotoxy()
6043 SetConsoleCursorPosition(g_hConOut, g_coord); in gotoxy()
6069 SetConsoleTextAttribute(g_hConOut, wAttr); in textattr()
6079 SetConsoleTextAttribute(g_hConOut, g_attrCurrent); in textcolor()
6091 SetConsoleTextAttribute(g_hConOut, g_attrCurrent); in textbackground()
6183 ReadConsoleOutputAttribute(g_hConOut, oldattrs, Rows * Columns, in visual_bell()
6185 FillConsoleOutputAttribute(g_hConOut, attrFlash, Rows * Columns, in visual_bell()
6190 WriteConsoleOutputAttribute(g_hConOut, oldattrs, Rows * Columns, in visual_bell()
6278 FillConsoleOutputAttribute(g_hConOut, g_attrCurrent, cells, in write_chars()
6282 if (WriteConsoleOutputCharacterW(g_hConOut, *utf8usingbuf, length, in write_chars()
6289 if (WriteConsoleW(g_hConOut, *utf8usingbuf, length, &cchwritten, in write_chars()
7929 pGetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in vtp_init()
7966 WriteConsoleA(g_hConOut, buf, (DWORD)len, &result, NULL); in vtp_printf()
8120 WriteConsoleA(g_hConOut, p, (DWORD)(&buf[SGRBUFSIZE] - p), &r, NULL); in vtp_sgr_bulks()
8175 pGetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in set_console_color_rgb()
8185 pSetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in set_console_color_rgb()
8248 pGetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in reset_console_color_rgb()
8256 pSetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in reset_console_color_rgb()
8271 pGetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in restore_console_color_rgb()
8279 pSetConsoleScreenBufferInfoEx(g_hConOut, &csbi); in restore_console_color_rgb()
8344 if (GetConsoleScreenBufferInfo(g_hConOut, &csbi)) in resize_console_buf()
8348 SetConsoleScreenBufferSize(g_hConOut, coord); in resize_console_buf()
8354 SetConsoleWindowInfo(g_hConOut, TRUE, &newsize); in resize_console_buf()
8356 SetConsoleScreenBufferSize(g_hConOut, coord); in resize_console_buf()