Home
last modified time | relevance | path

Searched refs:hInput (Results 1 – 8 of 8) sorted by relevance

/reactos/base/applications/cmdutils/timeout/
H A Dtimeout.c50 HANDLE hInput; in InputWait() local
63 hInput = ConStreamGetOSHandle(StdIn); in InputWait()
64 if (hInput == INVALID_HANDLE_VALUE) in InputWait()
89 if (!GetNumberOfConsoleInputEvents(hInput, &NumRecords) || in InputWait()
90 !FlushConsoleInputBuffer(hInput)) in InputWait()
197 dwWaitState = WaitForSingleObject(hInput, 1000 - timeElapsed); in InputWait()
213 if (!PeekConsoleInputW(hInput, InputRecords, ARRAYSIZE(InputRecords), &NumRecords)) in InputWait()
230 if (!ReadConsoleInputW(hInput, InputRecords, ARRAYSIZE(InputRecords), &NumRecords)) in InputWait()
/reactos/base/shell/cmd/
H A Dconsole.c38 HANDLE hInput = GetStdHandle(STD_INPUT_HANDLE); in ConInDisable() local
41 GetConsoleMode(hInput, &dwMode); in ConInDisable()
43 SetConsoleMode(hInput, dwMode); in ConInDisable()
48 HANDLE hInput = GetStdHandle(STD_INPUT_HANDLE); in ConInEnable() local
51 GetConsoleMode(hInput, &dwMode); in ConInEnable()
53 SetConsoleMode(hInput, dwMode); in ConInEnable()
63 HANDLE hInput = GetStdHandle(STD_INPUT_HANDLE); in ConInKey() local
66 if (hInput == INVALID_HANDLE_VALUE) in ConInKey()
71 ReadConsoleInput(hInput, lpBuffer, 1, &dwRead); in ConInKey()
H A Dchoice.c43 HANDLE hInput; in GetCharacterTimeout() local
48 hInput = GetStdHandle (STD_INPUT_HANDLE); in GetCharacterTimeout()
51 if (WaitForSingleObject (hInput, dwMilliseconds) == WAIT_TIMEOUT) in GetCharacterTimeout()
55 ReadConsoleInput (hInput, &lpBuffer, 1, &dwRead); in GetCharacterTimeout()
H A Dcmd.c696 HANDLE hInput = NULL; in ExecutePipeline() local
729 if (hInput) in ExecutePipeline()
730 CloseHandle(hInput); in ExecutePipeline()
735 hInput = hPipeRead; in ExecutePipeline()
750 CloseHandle(hInput); in ExecutePipeline()
767 if (hInput) in ExecutePipeline()
768 CloseHandle(hInput); in ExecutePipeline()
H A Dmisc.c43 HANDLE hInput = GetStdHandle (STD_INPUT_HANDLE); in cgetchar() local
49 ReadConsoleInput (hInput, &irBuffer, 1, &dwRead); in cgetchar()
/reactos/base/applications/cmdutils/clip/
H A Dclip.c42 HANDLE hInput; in wmain() local
51 hInput = GetStdHandle(STD_INPUT_HANDLE); in wmain()
61 if (GetFileType(hInput) == FILE_TYPE_CHAR) in wmain()
82 bStatus = ReadFile(hInput, lpBuffer + dwSize, 4096, &dwBytesRead, NULL); in wmain()
/reactos/base/applications/cmdutils/more/
H A Dmore.c162 HANDLE hInput = ConStreamGetOSHandle(StdIn); in PagePrompt() local
249 GetConsoleMode(hInput, &dwMode); in PagePrompt()
251 SetConsoleMode(hInput, dwMode); in PagePrompt()
264 ReadConsoleInput(hInput, &ir, 1, &dwRead); in PagePrompt()
349 GetConsoleMode(hInput, &dwMode); in PagePrompt()
351 SetConsoleMode(hInput, dwMode); in PagePrompt()
/reactos/base/applications/cmdutils/replace/
H A Dutil.c244 HANDLE hInput = GetStdHandle (STD_INPUT_HANDLE); in cgetchar() local
250 ReadConsoleInput (hInput, &irBuffer, 1, &dwRead); in cgetchar()