using System; namespace Microsoft.Win32 { //MOUSEDATA定义 public static partial class NativeMethods { /// /// Set if the first X button is pressed or released. /// public const int XBUTTON1 = 0x0001; /// /// Set if the second X button is pressed or released. /// public const int XBUTTON2 = 0x0002; } }