CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode Parameter_AddModifierSupportedDataType ( CPHOBJECT const  hParameter,
DataTypes const  dataType,
CPVALUE const *const  pMinValue,
CPVALUE const *const  pMidValue,
CPVALUE const *const  pMaxValue 
)

Declare a supported data type and its value range information.

Parameters
[in]hParameterParameter handle. Must be a modifier.
[in]dataTypethe data type
[in]pMinValuePointer to the min value
[in]pMidValuePointer to the middle value
[in]pMaxValuePointer to the max value
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.