INtime SDK Help
INtime SDK v7 > About INtime > Networking and I/O > USB > USB calls > UsbFindNextDevice

Find the next available matching USB device.

int32_t UsbFindNextDevice(
struct usbDeviceInfo * udi,
struct usbDeviceId * idtable,
struct usbDeviceId ** id );


A pointer to a usbDeviceInfo structure. This structure must first be initialized by calling UsbFindFIrstDevice.
A pointer to usbDeviceId table. This table describes possible matches.
A pointer to a matching usbDeviceId table entry. The returned value is only valid if the function returns USB_ERR_NORMAL_COMPLETION .

Return Values

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 more devices.


Versions Defined in Include Link to
INtime 5.0 intime/rt/include/usbif3.h usbif3.h usbif3.lib