Function Number: 0
Minimum usb8x version: 0.07
Returns whether a USB device is connected
- 1: Error code
- 2: 1 = device connected
Like the assembly language version of this routine, IsDeviceConnected doesn't actually check to see if a device is connected. Instead, it checks whether an A-style USB cable is plugged into the USB port, regardless of whether there's a device connected to the other side.