using System; namespace WindowsInput.Native { #pragma warning disable 649 /// /// The INPUT structure is used by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks. (see: http://msdn.microsoft.com/en-us/library/ms646270(VS.85).aspx) /// Declared in Winuser.h, include Windows.h /// /// /// This structure contains information identical to that used in the parameter list of the keybd_event or mouse_event function. /// Windows 2000/XP: INPUT_KEYBOARD supports nonkeyboard input methods, such as handwriting recognition or voice recognition, as if it were text input by using the KEYEVENTF_UNICODE flag. For more information, see the remarks section of KEYBDINPUT. /// internal struct INPUT { /// /// Specifies the type of the input event. This member can be one of the following values. /// - The event is a mouse event. Use the mi structure of the union. /// - The event is a keyboard event. Use the ki structure of the union. /// - Windows 95/98/Me: The event is from input hardware other than a keyboard or mouse. Use the hi structure of the union. /// public UInt32 Type; /// /// The data structure that contains information about the simulated Mouse, Keyboard or Hardware event. /// public MOUSEKEYBDHARDWAREINPUT Data; } #pragma warning restore 649 }