SetPropertyInteractionContext function (interactioncontext.h)

Sets Interaction Context object properties.

Syntax

HRESULT SetPropertyInteractionContext(
  [in] HINTERACTIONCONTEXT          interactionContext,
  [in] INTERACTION_CONTEXT_PROPERTY contextProperty,
  [in] UINT32                       value
);

Parameters

[in] interactionContext

Handle to the Interaction Context object.

[in] contextProperty

One of the constants identified by INTERACTION_CONTEXT_PROPERTY enumeration.

[in] value

The value of the constant identified by contextProperty.

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 None supported
Target Platform Windows
Header interactioncontext.h
Library Ninput.lib
DLL Ninput.dll

See also

AddPointerInteractionContext function

GetPropertyInteractionContext function