mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:52:57 +00:00
[KERNEL32][PSDK][NTVDM][CONSRV] Use now-documented ReadConsoleInputEx() flag names.
Addendum to commit b8b8819c7
(r60920)
ReadConsoleInputEx() and its flags used to be undocumented.
In the meantime they became documented on MSDN, see:
https://learn.microsoft.com/en-us/windows/console/readconsoleinputex
We can therefore adopt these now-documented flag names.
This commit is contained in:
parent
c0dbde0436
commit
3a49e26f13
4 changed files with 8 additions and 8 deletions
|
@ -537,8 +537,8 @@ ReadInputBuffer(IN PGET_INPUT_INFO InputInfo,
|
|||
NumEventsRead = 0;
|
||||
Status = ConDrvGetConsoleInput(InputBuffer->Header.Console,
|
||||
InputBuffer,
|
||||
(GetInputRequest->Flags & CONSOLE_READ_KEEPEVENT) != 0,
|
||||
(GetInputRequest->Flags & CONSOLE_READ_CONTINUE ) == 0,
|
||||
(GetInputRequest->Flags & CONSOLE_READ_NOREMOVE) != 0,
|
||||
(GetInputRequest->Flags & CONSOLE_READ_NOWAIT ) == 0,
|
||||
InputRecord,
|
||||
GetInputRequest->NumRecords,
|
||||
&NumEventsRead);
|
||||
|
@ -656,7 +656,7 @@ CON_API(SrvGetConsoleInput,
|
|||
|
||||
DPRINT("SrvGetConsoleInput\n");
|
||||
|
||||
if (GetInputRequest->Flags & ~(CONSOLE_READ_KEEPEVENT | CONSOLE_READ_CONTINUE))
|
||||
if (GetInputRequest->Flags & ~(CONSOLE_READ_NOREMOVE | CONSOLE_READ_NOWAIT))
|
||||
{
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue