namespace Microsoft.Win32 { //INPUT定义 public static partial class NativeMethods { /// /// The event is a mouse event. Use the mi structure of the union. /// public const int INPUT_MOUSE = 0; /// /// The event is a keyboard event. Use the ki structure of the union. /// public const int INPUT_KEYBOARD = 1; /// /// The event is a hardware event. Use the hi structure of the union. /// public const int INPUT_HARDWARE = 2; } }