usb_devmgr_find_free — device manager: find unclaimed devices
extern int usb_devmgr_find_free
(int skip, int size, int* done, struct usbmsg_device_filter** filters, struct usbmsg_new_device** newdev);
done will be set to a non-zero value if done |
device manager: find unclaimed devices this will search the pool of devices and return a list of free devices matching the given specification note, the function returns a negative form of the error codes on failure. Any negative return codes should be considered an error, and therefore any error code should be returned to a positive value before checking against the result codes.