Home
last modified time | relevance | path

Searched refs:hConsole (Results 1 – 2 of 2) sorted by relevance

/external/jline/src/src/main/native/
Djline_WindowsTerminal.c8 HANDLE hConsole = GetStdHandle (STD_INPUT_HANDLE); in Java_jline_WindowsTerminal_getConsoleMode() local
10 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() local
28 if (hConsole == INVALID_HANDLE_VALUE) in Java_jline_WindowsTerminal_setConsoleMode()
32 SetConsoleMode (hConsole, m); in Java_jline_WindowsTerminal_setConsoleMode()
/external/svox/pico/lib/
Dpicodbg.c150 HANDLE hConsole; in picodbg_setTextAttr() local
153 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()