123456789101112131415161718192021222324252627282930313233343536373839 |
- namespace Microsoft.Win32
- {
- //MK定义
- public static partial class NativeMethods
- {
- /// <summary>
- /// none keys were down.
- /// </summary>
- public const int MK_NONE = 0x0000;
- /// <summary>
- /// The left mouse button is down.
- /// </summary>
- public const int MK_LBUTTON = 0x0001;
- /// <summary>
- /// The right mouse button is down.
- /// </summary>
- public const int MK_RBUTTON = 0x0002;
- /// <summary>
- /// The SHIFT key is down.
- /// </summary>
- public const int MK_SHIFT = 0x0004;
- /// <summary>
- /// The CTRL key is down.
- /// </summary>
- public const int MK_CONTROL = 0x0008;
- /// <summary>
- /// The middle mouse button is down.
- /// </summary>
- public const int MK_MBUTTON = 0x0010;
- /// <summary>
- /// The first X button is down.
- /// </summary>
- public const int MK_XBUTTON1 = 0x0020;
- /// <summary>
- /// The second X button is down.
- /// </summary>
- public const int MK_XBUTTON2 = 0x0040;
- }
- }
|