Lines Matching refs:handle
25 HANDLE handle = (HANDLE) _get_osfhandle(fileno); in php_win32_console_fileno_is_console() local
27 if (handle != INVALID_HANDLE_VALUE) { in php_win32_console_fileno_is_console()
29 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_is_console()
39 HANDLE handle = (HANDLE) _get_osfhandle(fileno); in php_win32_console_fileno_has_vt100() local
41 if (handle != INVALID_HANDLE_VALUE) { in php_win32_console_fileno_has_vt100()
44 if (fileno != 0 && !GetNumberOfConsoleInputEvents(handle, &events)) { in php_win32_console_fileno_has_vt100()
48 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_has_vt100()
61 HANDLE handle = (HANDLE) _get_osfhandle(fileno); in php_win32_console_fileno_set_vt100() local
63 if (handle != INVALID_HANDLE_VALUE) { in php_win32_console_fileno_set_vt100()
66 if (fileno != 0 && !GetNumberOfConsoleInputEvents(handle, &events)) { in php_win32_console_fileno_set_vt100()
70 if (GetConsoleMode(handle, &mode)) { in php_win32_console_fileno_set_vt100()
83 if (SetConsoleMode(handle, newMode)) { in php_win32_console_fileno_set_vt100()