This topic has not yet been rated - Rate this topic

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

Interactioncontext.h

Library

User32.lib

DLL

User32.dll

See also

Interaction Context Functions
HINTERACTIONCONTEXT

 

 

Build date: 10/16/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.