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 lines
1.1 KiB

// This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or http://opensource.org/licenses/mit-license.php
using System.Runtime.InteropServices;
namespace Gma.System.MouseKeyHook.WinApi
{
internal static class MouseNativeMethods
{
/// <summary>
/// The GetDoubleClickTime function retrieves the current double-click time for the mouse. A double-click is a series
/// of two clicks of the
/// mouse button, the second occurring within a specified time after the first. The double-click time is the maximum
/// number of
/// milliseconds that may occur between the first and second click of a double-click.
/// </summary>
/// <returns>
/// The return value specifies the current double-click time, in milliseconds.
/// </returns>
/// <remarks>
/// http://msdn.microsoft.com/en-us/library/ms646258(VS.85).aspx
/// </remarks>
[DllImport("user32")]
internal static extern int GetDoubleClickTime();
}
}