libusb_get_active_config_descriptor method

int libusb_get_active_config_descriptor(
  1. Pointer<libusb_device> dev,
  2. Pointer<Pointer<libusb_config_descriptor>> config
)

Implementation

int libusb_get_active_config_descriptor(
  ffi.Pointer<libusb_device> dev,
  ffi.Pointer<ffi.Pointer<libusb_config_descriptor>> config,
) {
  return (_libusb_get_active_config_descriptor ??= _dylib.lookupFunction<
          _c_libusb_get_active_config_descriptor,
          _dart_libusb_get_active_config_descriptor>(
      'libusb_get_active_config_descriptor'))(
    dev,
    config,
  );
}