IDirectManipulationMotion::SetMotionChangeHandler method

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

Applies to: desktop apps only

Specifies a motion change handler. This handler is notified of changes to the value of the manipulation motion.

Syntax

HRESULT SetMotionChangeHandler(
  [in, unique]  IDirectManipulationMotionEventHandler *handler
);

Parameters

  • handler [in]
    A motion change handler. The specified object must implement IDirectManipulationMotionChangeHandler interface or be NULL.

Return value

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

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