extern static bool PeekConsoleInput (IntPtr handle, out InputRecord record, int length, out int eventsRead);