IDirectManipulationMotion::SetSnapType method

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Sets the snap type for the manipulation value for inertia.

Syntax

HRESULT SetSnapType(
  [in]  DIRECTMANIPULATION_SNAPPOINT_TYPE type
);

Parameters

  • type [in]
    The type of snap point behavior to observe for the motion.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Mandatory snap points indicate the final rest point must coincide with a specified snap point (if snap points exist). Optional snap points indicate the snap point behavior only if the position and velocity interaction ends close to a snap point.

Requirements

Minimum supported client

Windows Developer Preview

Minimum supported server

Windows Server Developer Preview

IDL

DirectManipulation.idl

See also

IDirectManipulationMotion

 

 

Build date: 12/12/2011