GetHoldParameterInteractionContext function (interactioncontext.h)

Gets the hold interaction behavior.

Syntax

HRESULT GetHoldParameterInteractionContext(
  [in]  HINTERACTIONCONTEXT interactionContext,
  [in]  HOLD_PARAMETER      parameter,
  [out] float               *value
);

Parameters

[in] interactionContext

The handle of the interaction context.

[in] parameter

One of the constants from the HOLD_PARAMETER enumeration.

[out] 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

SetHoldParameterInteractionContext function