libusb_get_ss_usb_device_capability_descriptor method

int libusb_get_ss_usb_device_capability_descriptor(
  1. Pointer<libusb_context> ctx,
  2. Pointer<libusb_bos_dev_capability_descriptor> dev_cap,
  3. Pointer<Pointer<libusb_ss_usb_device_capability_descriptor>> ss_usb_device_cap
)

Implementation

int libusb_get_ss_usb_device_capability_descriptor(
  ffi.Pointer<libusb_context> ctx,
  ffi.Pointer<libusb_bos_dev_capability_descriptor> dev_cap,
  ffi.Pointer<ffi.Pointer<libusb_ss_usb_device_capability_descriptor>>
      ss_usb_device_cap,
) {
  return (_libusb_get_ss_usb_device_capability_descriptor ??=
      _dylib.lookupFunction<_c_libusb_get_ss_usb_device_capability_descriptor,
              _dart_libusb_get_ss_usb_device_capability_descriptor>(
          'libusb_get_ss_usb_device_capability_descriptor'))(
    ctx,
    dev_cap,
    ss_usb_device_cap,
  );
}