#include <canlib.h> canStatus canGetNumberOfChannels(int * channelCount);
This function returns the number of available CAN channels in the computer. The
canOK (zero) if success canERR_xxx (negative) if failure.