GetDoubleClickTime function (winuser.h)

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. The maximum double-click time is 5000 milliseconds.

Syntax

UINT GetDoubleClickTime();

Return value

Type: UINT

The return value specifies the current double-click time, in milliseconds. The maximum return value is 5000 milliseconds.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll
API set ext-ms-win-ntuser-mouse-l1-1-0 (introduced in Windows 8)

See also

Conceptual

Mouse Input

Reference

SetDoubleClickTime