Q3Controller_GetValueCount
You can use theQ3Controller_GetValueCountfunction to get the number of values of a controller.
TQ3Status Q3Controller_GetValueCount ( TQ3ControllerRef controllerRef, unsigned long *valueCount);
controllerRef- A reference to a controller.
valueCount- On exit, the number of values supported by the specified controller.
DESCRIPTION
TheQ3Controller_GetValueCountfunction returns, in thevalueCountparameter, the number of values supported by the controller specified by thecontrollerRefparameter.