Send a value using the assigned message, specifying automation The value is sent in proportional mode (see SelectorMessage_SetProportionalValue) if the assigned message is a Selector and if the value is not relative.
- Parameters
-
[in] | hController | Controller handle |
[in] | wValue | the full range value [0..0xFFFF] |
[in] | mode | tells if the value is absolute, relative (simple cast to CPINT16) or proportional (only for Selectors) |
[in] | fWriteToEnd | FALSE: Latch mode, TRUE: Write to End mode |
[in] | fTouch | FALSE: No touch, TRUE: touch |
[in] | state | see PerformanceMessageAutomationStates |
- Returns
- Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
- Warning
- This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.