ReadConsole function kernel32
int
ReadConsole(
- int hConsoleInput,
- Pointer<
NativeType> lpBuffer, - int nNumberOfCharsToRead,
- Pointer<
Uint32> lpNumberOfCharsRead, - Pointer<
CONSOLE_READCONSOLE_CONTROL> pInputControl,
Reads character input from the console input buffer and removes it from the buffer.
BOOL ReadConsoleW(
_In_ HANDLE hConsoleInput,
_Out_ LPVOID lpBuffer,
_In_ DWORD nNumberOfCharsToRead,
_Out_ LPDWORD lpNumberOfCharsRead,
_In_opt_ LPVOID pInputControl
);
Implementation
int ReadConsole(
int hConsoleInput,
Pointer lpBuffer,
int nNumberOfCharsToRead,
Pointer<Uint32> lpNumberOfCharsRead,
Pointer<CONSOLE_READCONSOLE_CONTROL> pInputControl) =>
_ReadConsole(hConsoleInput, lpBuffer, nNumberOfCharsToRead,
lpNumberOfCharsRead, pInputControl);