3.1.2.2 GetCommanderHIDnumber
Overview
Used to get total number of Commander core HID devices connected to the host. The number of devices is represented in the return value. The function will return 0 if no devices are connected. This function shows that the Commander core is correctly recognized by the host.
Argument
None
Reply
Int type
0 No recognized device
1 One device was recognized
η η pcs of device are recognized
Example
- VC
int numDev; // The number of devices
numDev = GetCommanderHIDnumber(); // Obtain the number of devices connected to the host
- VB
Dim numDev as Integer ‘ The number of devices
numDev = GetCommanderHIDnumber() ‘ Obtain the number of devices connected to the host
< Previous SubSection | Topic Home | Home | Next SubSection >