Searched refs:hConsole (Results 1 – 2 of 2) sorted by relevance
8 HANDLE hConsole = GetStdHandle (STD_INPUT_HANDLE); in Java_jline_WindowsTerminal_getConsoleMode() local10 if (hConsole == INVALID_HANDLE_VALUE) in Java_jline_WindowsTerminal_getConsoleMode()13 if (!GetConsoleMode (hConsole, &mode)) in Java_jline_WindowsTerminal_getConsoleMode()26 HANDLE hConsole = GetStdHandle (STD_INPUT_HANDLE); in Java_jline_WindowsTerminal_setConsoleMode() local28 if (hConsole == INVALID_HANDLE_VALUE) in Java_jline_WindowsTerminal_setConsoleMode()32 SetConsoleMode (hConsole, m); in Java_jline_WindowsTerminal_setConsoleMode()
150 HANDLE hConsole; in picodbg_setTextAttr() local153 hConsole = GetStdHandle(STD_OUTPUT_HANDLE); in picodbg_setTextAttr()155 hConsole = GetStdHandle(STD_ERROR_HANDLE); in picodbg_setTextAttr()157 hConsole = INVALID_HANDLE_VALUE; in picodbg_setTextAttr()160 if (hConsole != INVALID_HANDLE_VALUE) { in picodbg_setTextAttr()162 if (GetFileType(hConsole) == FILE_TYPE_CHAR) { in picodbg_setTextAttr()164 GetConsoleScreenBufferInfo(hConsole, &csbi); in picodbg_setTextAttr()165 SetConsoleTextAttribute(hConsole, (WORD) attr); in picodbg_setTextAttr()