GetInteractionConfigurationInteractionContext function (interactioncontext.h)

Gets interaction configuration state for the Interaction Context object.

Syntax

HRESULT GetInteractionConfigurationInteractionContext(
  [in]  HINTERACTIONCONTEXT               interactionContext,
  [in]  UINT32                            configurationCount,
  [out] INTERACTION_CONTEXT_CONFIGURATION *configuration
);

Parameters

[in] interactionContext

Pointer to a handle for the Interaction Context.

[in] configurationCount

Number of interaction configurations.

[out] configuration

The interactions enabled for this Interaction Context object.

Return value

If this function succeeds, it returns S_OK.

Otherwise, it returns an HRESULT error code.

Requirements

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

See also

HINTERACTIONCONTEXT

INTERACTION_CONTEXT_CONFIGURATION

Interaction Context Functions

SetInteractionConfigurationInteractionContext