INTERACTION_CONTEXT_OUTPUT structure (interactioncontext.h)

Defines the output of the Interaction Context object.

Syntax

typedef struct INTERACTION_CONTEXT_OUTPUT {
  INTERACTION_ID     interactionId;
  INTERACTION_FLAGS  interactionFlags;
  POINTER_INPUT_TYPE inputType;
  float              x;
  float              y;
  union {
    INTERACTION_ARGUMENTS_MANIPULATION manipulation;
    INTERACTION_ARGUMENTS_TAP          tap;
    INTERACTION_ARGUMENTS_CROSS_SLIDE  crossSlide;
  } arguments;
} INTERACTION_CONTEXT_OUTPUT;

Members

interactionId

ID of the Interaction Context object.

interactionFlags

One of the constants from INTERACTION_FLAGS.

inputType

One of the constants from POINTER_INPUT_TYPE.

x

The x-coordinate of the input pointer, in HIMETRIC units.

y

The y-coordinate of the input pointer, in HIMETRIC units.

arguments

arguments.manipulation

The state of the manipulation.

arguments.tap

The state of the tap gesture.

arguments.crossSlide

The state of the cross-slide interaction.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header interactioncontext.h

See also

INTERACTION_ARGUMENTS_CROSS_SLIDE

INTERACTION_ARGUMENTS_MANIPULATION

INTERACTION_ARGUMENTS_TAP

INTERACTION_CONTEXT_OUTPUT_CALLBACK

INTERACTION_FLAGS

Interaction Context Structures

RegisterOutputCallbackInteractionContext