[CONSRV] Keep a count of input events in the console queue + code simplifications.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 22 Feb 2020 22:19:45 +0000 (23:19 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 22 Feb 2020 22:27:42 +0000 (23:27 +0100)
commit90d795b0bf61e5bfe0e4163e121d0700e1116ed0
treefa05e930ef243bda75341355a2e3cc6478d2a44c
parent570eba2a5283696e3228fb33a03b75b30b2a61ba
[CONSRV] Keep a count of input events in the console queue + code simplifications.

- Update the documentation of members of CONSOLE_INPUT_BUFFER.
- Simplify ConDrvGetConsoleNumberOfInputEvents().
- Simplify ConDrvFlushConsoleInputBuffer().
- Use also GetConsoleInputBufferMode() more often.
win32ss/user/winsrv/consrv/condrv/coninput.c
win32ss/user/winsrv/consrv/console.c
win32ss/user/winsrv/consrv/frontends/gui/conwnd.c
win32ss/user/winsrv/consrv/frontends/gui/guiterm.c
win32ss/user/winsrv/consrv/frontends/input.c
win32ss/user/winsrv/consrv/frontends/terminal.c
win32ss/user/winsrv/consrv/include/conio.h