AddPointerInteractionContext function

Include the specified pointer in the set of pointers processed by the Interaction Context object.

Syntax


HRESULT WINAPI AddPointerInteractionContext(
  _In_  HINTERACTIONCONTEXT interactionContext,
  _In_  UINT32 pointerId
);

Parameters

interactionContext [in]

Handle to the Interaction Context object.

pointerId [in]

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.

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
RemovePointerInteractionContext
SetPropertyInteractionContext
GetPropertyInteractionContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft