libusb_get_ss_endpoint_companion_descriptor method

int libusb_get_ss_endpoint_companion_descriptor(
  1. Pointer<libusb_context> ctx,
  2. Pointer<libusb_endpoint_descriptor> endpoint,
  3. Pointer<Pointer<libusb_ss_endpoint_companion_descriptor>> ep_comp
)

Implementation

int libusb_get_ss_endpoint_companion_descriptor(
  ffi.Pointer<libusb_context> ctx,
  ffi.Pointer<libusb_endpoint_descriptor> endpoint,
  ffi.Pointer<ffi.Pointer<libusb_ss_endpoint_companion_descriptor>> ep_comp,
) {
  return (_libusb_get_ss_endpoint_companion_descriptor ??=
      _dylib.lookupFunction<_c_libusb_get_ss_endpoint_companion_descriptor,
              _dart_libusb_get_ss_endpoint_companion_descriptor>(
          'libusb_get_ss_endpoint_companion_descriptor'))(
    ctx,
    endpoint,
    ep_comp,
  );
}