Lines Matching refs:_index
244 HDEVINFO *dev_info, SP_DEVINFO_DATA *dev_info_data, char* usb_class, unsigned _index)
246 if (_index <= 0) {
254 if (!pSetupDiEnumDeviceInfo(*dev_info, _index, dev_info_data)) {
257 _index, windows_error_str(0));
280 HDEVINFO *dev_info, SP_DEVINFO_DATA *dev_info_data, const GUID* guid, unsigned _index)
286 if (_index <= 0) {
292 if (!pSetupDiEnumDeviceInfo(*dev_info, _index, dev_info_data)) {
295 _index, windows_error_str(0));
304 if (!pSetupDiEnumDeviceInterfaces(*dev_info, NULL, guid, _index, &dev_interface_data)) {
307 _index, windows_error_str(0));
319 _index, windows_error_str(0));
328 usbi_err(ctx, "could not allocate interface data for index %u.", _index);
336 _index, windows_error_str(0));