MANIPULATION_PROCESSOR_MANIPULATIONS enumeration (manipulations.h)
The MANIPULATION_PROCESSOR_MANIPULATIONS enumeration different kinds of manipulation which can be applied on a target object.
Syntax
typedef enum MANIPULATION_PROCESSOR_MANIPULATIONS {
MANIPULATION_NONE = 0,
MANIPULATION_TRANSLATE_X = 0x1,
MANIPULATION_TRANSLATE_Y = 0x2,
MANIPULATION_SCALE = 0x4,
MANIPULATION_ROTATE = 0x8,
MANIPULATION_ALL = 0xf
} ;
Constants
MANIPULATION_NONE Value: 0 Indicates that no manipulations are performed. |
MANIPULATION_TRANSLATE_X Value: 0x1 Indicates manipulation by moving the target across the horizontal axis. |
MANIPULATION_TRANSLATE_Y Value: 0x2 Indicates manipulation by moving the target across the vertical axis. |
MANIPULATION_SCALE Value: 0x4 Indicates manipulation by making the target larger or smaller. |
MANIPULATION_ROTATE Value: 0x8 Indicates manipulation by rotating the target. |
MANIPULATION_ALL Value: 0xf Indicates all manipulations are enabled. |
Remarks
Use this enumeration with the SupportedManipulations property to get and set the kind of manipulation data you want to receive from the IManipulationProcessor interface. You can combine different kinds of manipulations by a bitwise OR.
Examples
CoInitialize(0);
hr = spIManipProc.CoCreateInstance(CLSID_ManipulationProcessor, NULL, CLSCTX_ALL);
MANIPULATION_PROCESSOR_MANIPULATIONS mpm;
spIManipProc->get_SupportedManipulations(&mpm);
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | manipulations.h (include Manipulations.h) |