SetInteractionConfigurationInteractionContext function (interactioncontext.h)

Configures the Interaction Context object to process the specified manipulations.

Syntax

HRESULT SetInteractionConfigurationInteractionContext(
  [in] HINTERACTIONCONTEXT                     interactionContext,
  [in] UINT32                                  configurationCount,
  [in] const INTERACTION_CONTEXT_CONFIGURATION *configuration
);

Parameters

[in] interactionContext

The handle of the Interaction Context.

[in] configurationCount

The number of interactions being configured.

[in] configuration

The interactions to enable for this Interaction Context object.

Return value

If this function succeeds, it returns S_OK.

Otherwise, it returns an HRESULT error code.

Remarks

By default, no configuration flags are set (no interactions are enabled). Each interaction must be explicitly declared.

Configuration changes are applied only to new interactions.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header interactioncontext.h
Library Ninput.lib
DLL Ninput.dll; Edgehtml.dll

See also

GetInteractionConfigurationInteractionContext function

INTERACTION_CONTEXT_CONFIGURATION structure