libusb_detach_kernel_driver method

int libusb_detach_kernel_driver(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int interface_number
)

Implementation

int libusb_detach_kernel_driver(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int interface_number,
) {
  return (_libusb_detach_kernel_driver ??= _dylib.lookupFunction<
      _c_libusb_detach_kernel_driver,
      _dart_libusb_detach_kernel_driver>('libusb_detach_kernel_driver'))(
    dev_handle,
    interface_number,
  );
}