/* Reads data from a console input buffer and removes it from the buffer. */
[DllImport("kernel32.dll", EntryPoint = "WriteConsoleInputW", CharSet = CharSet.Unicode, SetLastError = true)]
internal static extern BOOL WriteConsoleInput(
IntPtr hConsoleInput,
[MarshalAs(UnmanagedType.LPArray), In] INPUT_RECORD[] lpBuffer,
DWORD nLength,
out DWORD lpNumberOfEventsWritten);
User-Defined Types:
None.
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The WriteConsoleInput API
4/3/2012 10:04:33 AM - -87.68.67.5
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).