BufferPointerPacketsInteractionContext function (interactioncontext.h)

Adds the history for a single input pointer to the buffer of the Interaction Context object.

Syntax

HRESULT BufferPointerPacketsInteractionContext(
  [in] HINTERACTIONCONTEXT interactionContext,
  [in] UINT32              entriesCount,
  [in] const POINTER_INFO  *pointerInfo
);

Parameters

[in] interactionContext

The handle of the interaction context.

[in] entriesCount

The number of entries in the pointer history.

[in] pointerInfo

Basic pointer information common to all pointer types.

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 Windows Server 2012 [desktop apps only]
Target Platform Windows
Header interactioncontext.h
Library Ninput.lib
DLL Ninput.dll

See also

POINTER_INFO structure