libusb_wrap_sys_device method

int libusb_wrap_sys_device(
  1. Pointer<libusb_context> ctx,
  2. int sys_dev,
  3. Pointer<Pointer<libusb_device_handle>> dev_handle
)

Implementation

int libusb_wrap_sys_device(
  ffi.Pointer<libusb_context> ctx,
  int sys_dev,
  ffi.Pointer<ffi.Pointer<libusb_device_handle>> dev_handle,
) {
  return (_libusb_wrap_sys_device ??= _dylib.lookupFunction<
      _c_libusb_wrap_sys_device,
      _dart_libusb_wrap_sys_device>('libusb_wrap_sys_device'))(
    ctx,
    sys_dev,
    dev_handle,
  );
}