libusb_get_port_path method

int libusb_get_port_path(
  1. Pointer<libusb_context> ctx,
  2. Pointer<libusb_device> dev,
  3. Pointer<Uint8> path,
  4. int path_length,
)

Implementation

int libusb_get_port_path(
  ffi.Pointer<libusb_context> ctx,
  ffi.Pointer<libusb_device> dev,
  ffi.Pointer<ffi.Uint8> path,
  int path_length,
) {
  return (_libusb_get_port_path ??= _dylib.lookupFunction<
      _c_libusb_get_port_path,
      _dart_libusb_get_port_path>('libusb_get_port_path'))(
    ctx,
    dev,
    path,
    path_length,
  );
}