MK.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace Microsoft.Win32
  2. {
  3. //MK定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// none keys were down.
  8. /// </summary>
  9. public const int MK_NONE = 0x0000;
  10. /// <summary>
  11. /// The left mouse button is down.
  12. /// </summary>
  13. public const int MK_LBUTTON = 0x0001;
  14. /// <summary>
  15. /// The right mouse button is down.
  16. /// </summary>
  17. public const int MK_RBUTTON = 0x0002;
  18. /// <summary>
  19. /// The SHIFT key is down.
  20. /// </summary>
  21. public const int MK_SHIFT = 0x0004;
  22. /// <summary>
  23. /// The CTRL key is down.
  24. /// </summary>
  25. public const int MK_CONTROL = 0x0008;
  26. /// <summary>
  27. /// The middle mouse button is down.
  28. /// </summary>
  29. public const int MK_MBUTTON = 0x0010;
  30. /// <summary>
  31. /// The first X button is down.
  32. /// </summary>
  33. public const int MK_XBUTTON1 = 0x0020;
  34. /// <summary>
  35. /// The second X button is down.
  36. /// </summary>
  37. public const int MK_XBUTTON2 = 0x0040;
  38. }
  39. }