You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 line
1.1 KiB

  1. // This code is distributed under MIT license.
  2. // Copyright (c) 2015 George Mamaladze
  3. // See license.txt or https://mit-license.org/
  4. using System.Runtime.InteropServices;
  5. namespace Gma.System.MouseKeyHook.WinApi
  6. {
  7. internal static class MouseNativeMethods
  8. {
  9. /// <summary>
  10. /// The GetDoubleClickTime function retrieves the current double-click time for the mouse. A double-click is a series
  11. /// of two clicks of the
  12. /// mouse button, the second occurring within a specified time after the first. The double-click time is the maximum
  13. /// number of
  14. /// milliseconds that may occur between the first and second click of a double-click.
  15. /// </summary>
  16. /// <returns>
  17. /// The return value specifies the current double-click time, in milliseconds.
  18. /// </returns>
  19. /// <remarks>
  20. /// http://msdn.microsoft.com/en-us/library/ms646258(VS.85).aspx
  21. /// </remarks>
  22. [DllImport("user32")]
  23. internal static extern int GetDoubleClickTime();
  24. }
  25. }