ReadConsoleInput function kernel32
Reads data from a console input buffer and removes it from the buffer.
BOOL ReadConsoleInputW(
HANDLE hConsoleInput,
PINPUT_RECORD lpBuffer,
DWORD nLength,
LPDWORD lpNumberOfEventsRead
);
Implementation
int ReadConsoleInput(int hConsoleInput, Pointer<INPUT_RECORD> lpBuffer,
int nLength, Pointer<Uint32> lpNumberOfEventsRead) =>
_ReadConsoleInput(hConsoleInput, lpBuffer, nLength, lpNumberOfEventsRead);