Skip to main content
ResetInteractionContext function

Resets the interaction state, interaction configuration settings, and all parameters to their initial state. Current interactions are cancelled without notifications.

Interaction Context must be reconfigured before next use.

Syntax


HRESULT WINAPI ResetInteractionContext(
  _In_  HINTERACTIONCONTEXT interactionContext
);

Parameters

interactionContext [in]

Pointer to a handle for the Interaction Context.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Useful for managing a pool of Interaction Context objects.

Current interactions are cancelled without notifications.

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
CreateInteractionContext
DestroyInteractionContext
StopInteractionContext
HINTERACTIONCONTEXT