IDirectManipulationManager2::CreateBehavior method (directmanipulation.h)
Factory method to create a behavior.
Syntax
HRESULT CreateBehavior(
[in] REFCLSID clsid,
[in] REFIID riid,
[out, retval] void **object
);
Parameters
[in] clsid
CLSID of the behavior. The CLSID specifies the type of behavior.
[in] riid
The IID of the behavior interface to create.
[out, retval] object
The new behavior object that implements the specified interface.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |