SetInteractionConfigurationInteractionContext function

Configures the Interaction Context object to process the specified manipulations.

Syntax


HRESULT WINAPI SetInteractionConfigurationInteractionContext(
  _In_  HINTERACTIONCONTEXT interactionContext,
  _In_  UINT32 configurationCount,
  _In_  const INTERACTION_CONTEXT_CONFIGURATION *configuration
);

Parameters

interactionContext [in]

The handle of the Interaction Context.

configurationCount [in]

The number of interactions being configured.

configuration [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

None supported

Header

Interactioncontext.h

Library

Ninput.lib

DLL

Ninput.dll

See also

Interaction Context Functions
INTERACTION_CONTEXT_CONFIGURATION
HINTERACTIONCONTEXT
GetInteractionConfigurationInteractionContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft