SetTapParameterInteractionContext function (interactioncontext.h)

Sets the tap interaction behavior.

Syntax

HRESULT SetTapParameterInteractionContext(
  HINTERACTIONCONTEXT interactionContext,
  TAP_PARAMETER       parameter,
  float               value
);

Parameters

interactionContext

The handle of the interaction context.

parameter

One of the constants from the TAP_PARAMETER enumeration.

value

The value of parameter.

Return value

If this function succeeds, it returns S_OK.

Otherwise, it returns an HRESULT error code.

Requirements

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

See also

GetTapParameterInteractionContext function

INTERACTION_ARGUMENTS_TAP structure