SetPivotInteractionContext function
Sets the center point, and the pivot radius from the center point, for a rotation manipulation using a single input pointer.
Syntax
HRESULT WINAPI SetPivotInteractionContext( _In_ HINTERACTIONCONTEXT interactionContext, _In_ float x, _In_ float y, _In_ float radius );
Parameters
- interactionContext [in]
-
Pointer to a handle for the Interaction Context.
- x [in]
-
The x-coordinate for the screen location of the center point.
- y [in]
-
The y-coordinate for the screen location of the center point.
- radius [in]
-
The offset between the center point and the single input pointer, in HIMETRIC units.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | None supported [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Build date: 10/16/2012
