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.
Include the specified pointer in the set of pointers processed by the Interaction Context object.
Syntax
HRESULT AddPointerInteractionContext(
[in] HINTERACTIONCONTEXT interactionContext,
[in] UINT32 pointerId
);
Parameters
[in] interactionContext
Handle to the Interaction Context object.
[in] pointerId
ID of the pointer.
Return value
If this function succeeds, it returns S_OK.
Otherwise, it returns an HRESULT error code.
Remarks
Turn pointer filtering on by setting INTERACTION_CONTEXT_PROPERTY_FILTER_POINTERS in SetPropertyInteractionContext function.
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
GetPropertyInteractionContext function