using System.Runtime.InteropServices; namespace WindowsInput.Native { #pragma warning disable 649 /// /// The combined/overlayed structure that includes Mouse, Keyboard and Hardware Input message data (see: http://msdn.microsoft.com/en-us/library/ms646270(VS.85).aspx) /// [StructLayout(LayoutKind.Explicit)] internal struct MOUSEKEYBDHARDWAREINPUT { /// /// The definition. /// [FieldOffset(0)] public MOUSEINPUT Mouse; /// /// The definition. /// [FieldOffset(0)] public KEYBDINPUT Keyboard; /// /// The definition. /// [FieldOffset(0)] public HARDWAREINPUT Hardware; } #pragma warning restore 649 }