usblib_devmgr_findrelated
Prev | 3.8. devmgr.h | Next

## Name

usblib_devmgr_findrelated — library function to find other interfaces on the same device

## Synopsis

``int usblib_devmgr_findrelated`(struct usbmsg_new_device* dev, struct usbmsg_new_device** results, int result_size);`

## Arguments

`dev` original new device message
`results` array of results
`result_size` maximum number of results to return

## Description

library function to find other interfaces on the same device This function takes a new device message, and looks for other free interfaces on the same device. An negative result code is a negative version of the USB_DEVMGR_RESULT error codes @result number of devices found, or negative for an error

Prev | Up | Next
usb_devmgr_find_free | Home | usb_decode_transaction_result