void SetCfgItem(unsigned char ID, unsigned char subID, int value)

Top  Previous  Next

Called after all SetInitItem calls and before the StartData call.  Called multiple times before each parse run to set the user selected parameters for this signal.  'ID' identifies which cfg items is being set.  It is an index into the configurations strings you provided in the GetStrList call (the first item listed is ID=0.)  VALUE is a single INT32. Each type of configuration object defines what the return values mean.  If the object requires more than a single INT32 to define it settings, your plug-in will receive multiple calls, with increasing subIDs. See the section on Configuration Option Syntax for the return values from each option.  See the SIMPLESTATE example plug-in for typical handling.