IDirectManipulationContentBehavior::SetSnapPoints method
[This documentation is preliminary and is subject to change.]
Applies to: desktop apps only
Sets the snap points for the manipulation value for inertia.
Syntax
HRESULT SetSnapPoints(
[in] DIRECTMANIPULATION_MOTION_TYPES motion,
[in] const float *points,
[in] DWORD pointCount
);
Parameters
motion [in]
The motion type on which to set the interval.points [in]
An array of snap points within the boundaries to snap to.pointCount [in]
The number of points in the array.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Units are in device pixel units. Snap points override setting the snap interval.
Requirements
Minimum supported client |
Windows Developer Preview |
Minimum supported server |
Windows Server Developer Preview |
IDL |
DirectManipulation.idl |
See also
IDirectManipulationContentBehavior
Build date: 12/12/2011