HOLD_PARAMETER enumeration (interactioncontext.h)

Specifies various values relevant to a press and hold gesture.

Syntax

typedef enum HOLD_PARAMETER {
  HOLD_PARAMETER_MIN_CONTACT_COUNT,
  HOLD_PARAMETER_MAX_CONTACT_COUNT,
  HOLD_PARAMETER_THRESHOLD_RADIUS,
  HOLD_PARAMETER_THRESHOLD_START_DELAY,
  HOLD_PARAMETER_MAX
} ;

Constants

 
HOLD_PARAMETER_MIN_CONTACT_COUNT
The minimum number of contacts recognized.
HOLD_PARAMETER_MAX_CONTACT_COUNT
The maximum number of contacts recognized.
HOLD_PARAMETER_THRESHOLD_RADIUS
The radius around the contact point affected by the hold, in DIPs.
HOLD_PARAMETER_THRESHOLD_START_DELAY
The time threshold for when hold is recognized, in milliseconds.
HOLD_PARAMETER_MAX
Maximum number of interactions exceeded.

Requirements

Requirement Value
Minimum supported client Windows 10 version 21H1
Minimum supported server Windows Server 2022
Header interactioncontext.h

See also

GetHoldParameterInteractionContext function

SetHoldParameterInteractionContext function