IDirectManipulationManager::CreateMotion method
[This documentation is preliminary and is subject to change.]
Applies to: desktop apps only
Factory method to create a new motion object.
Syntax
HRESULT CreateMotion(
[in] DOUBLE slope,
[in] DOUBLE intercept,
[in] DIRECTMANIPULATION_INPUT_TYPE type,
[in] REFIID riid,
[out, retval] void **object
);
Parameters
slope [in]
TBDintercept [in]
TBDtype [in]
TBDriid [in]
A reference to the identifier of the interface to be usedobject [out, retval]
The new motion object.
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
Build date: 12/12/2011