ProcessPointerFramesInteractionContext function

Processes a set of pointer input frames.

Syntax


HRESULT WINAPI ProcessPointerFramesInteractionContext(
  _In_  HINTERACTIONCONTEXT interactionContext,
  _In_  UINT32 entriesCount,
  _In_  UINT32 pointerCount,
  _In_  const POINTER_INFO *pointerInfo
);

Parameters

interactionContext [in]

Pointer to a handle for the Interaction Context.

entriesCount [in]

Number of frames to process.

pointerCount [in]

Number of pointers in each frame.

pointerInfo [in]

Pointer to the array of frames (of size entriesCount).

Return value

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

Remarks

Output notifications are sent as required.

Frames must be processed in reverse chronological order (most recent data first).

Each frame must have the same set of input pointers.

Each pointer must originate from a different contact.

If pointer filtering is set, a sub-frame that includes the specified pointers is extracted from each frame. Pointers are specified through AddPointerInteractionContext and pointer filtering turned on by setting INTERACTION_CONTEXT_PROPERTY_FILTER_POINTERS in SetPropertyInteractionContext.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Interactioncontext.h

Library

Ninput.lib

DLL

Ninput.dll

See also

Interaction Context Functions
HINTERACTIONCONTEXT

 

 

Community Additions

ADD
Show:
© 2014 Microsoft