FlushConsoleInputBuffer function kernel32

int FlushConsoleInputBuffer(
  1. int hConsoleInput
)

Flushes the console input buffer. All input records currently in the input buffer are discarded.

BOOL FlushConsoleInputBuffer(
  _In_ HANDLE hConsoleInput
);

Implementation

int FlushConsoleInputBuffer(int hConsoleInput) =>
    _FlushConsoleInputBuffer(hConsoleInput);