libusb_kernel_driver_active method

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

Implementation

int libusb_kernel_driver_active(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int interface_number,
) {
  return (_libusb_kernel_driver_active ??= _dylib.lookupFunction<
      _c_libusb_kernel_driver_active,
      _dart_libusb_kernel_driver_active>('libusb_kernel_driver_active'))(
    dev_handle,
    interface_number,
  );
}