libusb_get_config_descriptor_by_value method
int
libusb_get_config_descriptor_by_value(
- Pointer<
libusb_device> dev, - int bConfigurationValue,
- Pointer<
Pointer< configlibusb_config_descriptor> >
Implementation
int libusb_get_config_descriptor_by_value(
ffi.Pointer<libusb_device> dev,
int bConfigurationValue,
ffi.Pointer<ffi.Pointer<libusb_config_descriptor>> config,
) {
return (_libusb_get_config_descriptor_by_value ??= _dylib.lookupFunction<
_c_libusb_get_config_descriptor_by_value,
_dart_libusb_get_config_descriptor_by_value>(
'libusb_get_config_descriptor_by_value'))(
dev,
bConfigurationValue,
config,
);
}