ReadConsoleInput (kernel32)
Last changed: -79.206.152.209

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern bool ReadConsoleInput(IntPtr hConsoleInput, [Out] INPUT_RECORD []
   lpBuffer, uint nLength, out uint lpNumberOfEventsRead);
  [DllImport("kernel32.dll",EntryPoint="ReadConsoleInputW",CharSet=CharSet.Unicode)]
  static extern bool ReadConsoleInput(
        IntPtr hConsoleInput,
        [Out] INPUT_RECORD [] lpBuffer,
        uint nLength,
        out uint lpNumberOfEventsRead);

User-Defined Types:

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation