PeekConsoleInputW method
Implementation
int PeekConsoleInputW(
ffi.Pointer<ffi.Void> hConsoleInput,
ffi.Pointer<PINPUT_RECORD> lpBuffer,
int nLength,
ffi.Pointer<ffi.Uint64> lpNumberOfEventsRead,
) {
return (_PeekConsoleInputW ??=
_dylib.lookupFunction<_c_PeekConsoleInputW, _dart_PeekConsoleInputW>(
'PeekConsoleInputW'))(
hConsoleInput,
lpBuffer,
nLength,
lpNumberOfEventsRead,
);
}