Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates and initializes an Interaction Context object.
Syntax
HRESULT CreateInteractionContext(
[out] HINTERACTIONCONTEXT *interactionContext
);
Parameters
[out] interactionContext
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
DestroyInteractionContext function must be called to destroy any interaction context created by CreateInteractionContext.
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 |