INTERACTION_CONTEXT_OUTPUT structure (interactioncontext.h)
Defines the output of the Interaction Context object.
Note
See INTERACTION_CONTEXT_OUTPUT2 structure for enhanced gesture recognition support.
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 enumeration.
inputType
One of the constants from POINTER_INPUT_TYPE enumeration.
x
The x-coordinate of the input pointer, in HIMETRIC units.
y
The y-coordinate of the input pointer, in HIMETRIC units.
arguments
Union of arguments sub-fields.
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 structure
INTERACTION_ARGUMENTS_MANIPULATION structure
INTERACTION_ARGUMENTS_TAP structure
INTERACTION_CONTEXT_OUTPUT_CALLBACK callback function
INTERACTION_CONTEXT_OUTPUT_CALLBACK2 callback function