Q3Controller_Next
You can use the Q3Controller_Next function to read through the list of available controllers.
TQ3Status Q3Controller_Next (
TQ3ControllerRef controllerRef,
TQ3ControllerRef *nextControllerRef);
controllerRef
- A reference to a controller, or
NULL.
nextControllerRef
- On exit, a reference to the controller that immediately follows the specified controller. If the value in the
controllerRef parameter is NULL, this parameter returns a reference to the first controller.
DESCRIPTION
The Q3Controller_Next function returns, in the nextControllerRef parameter, a reference to the controller that immediately follows the controller specified by the controllerRef parameter. To get the first controller in the list, pass the value NULL in the controllerRef parameter. If the controller specified by the controllerRef parameter is the last controller in the list, nextControllerRef is set to NULL.