libusb_set_auto_detach_kernel_driver method

int libusb_set_auto_detach_kernel_driver(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int enable
)

Implementation

int libusb_set_auto_detach_kernel_driver(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int enable,
) {
  return (_libusb_set_auto_detach_kernel_driver ??= _dylib.lookupFunction<
          _c_libusb_set_auto_detach_kernel_driver,
          _dart_libusb_set_auto_detach_kernel_driver>(
      'libusb_set_auto_detach_kernel_driver'))(
    dev_handle,
    enable,
  );
}