Find the first available matching USB device.
int32_t UsbFindFirstDevice(
struct usbDeviceInfo * udi,
struct usbDeviceId * idtable,
struct usbDeviceId ** id );
udi
idtable
id
USB_ERR_NORMAL_COMPLETION | Success. A device descriptor was returned. |
USB_ERR_NO_STACK | The USB stack is not ready. |
USB_ERR_FAULT | A fault occurred during the call. |
USB_ERR_NO_DEVICE | There are no devices. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 5.0 | intime/rt/include/usbif3.h | usbif3.h | usbif3.lib |