Searched refs:usb_class (Results 1 – 1 of 1) sorted by relevance
/external/libusb/libusb/os/ |
D | windows_winusb.c | 260 HDEVINFO *dev_info, SP_DEVINFO_DATA *dev_info_data, const char *usb_class, unsigned _index) in get_devinfo_data() argument 263 *dev_info = pSetupDiGetClassDevsA(NULL, usb_class, NULL, DIGCF_PRESENT|DIGCF_ALLCLASSES); in get_devinfo_data() 1280 const char *usb_class[] = {"USB", "NUSB3", "IUSB3", "IARUSB3"}; in windows_get_device_list() local 1374 for (; class_index < ARRAYSIZE(usb_class); class_index++) { in windows_get_device_list() 1375 if (get_devinfo_data(ctx, &dev_info, &dev_info_data, usb_class[class_index], i)) in windows_get_device_list() 1379 if (class_index >= ARRAYSIZE(usb_class)) in windows_get_device_list()
|