libusb_get_bos_descriptor method

int libusb_get_bos_descriptor(
  1. Pointer<libusb_device_handle> dev_handle,
  2. Pointer<Pointer<libusb_bos_descriptor>> bos
)

Implementation

int libusb_get_bos_descriptor(
  ffi.Pointer<libusb_device_handle> dev_handle,
  ffi.Pointer<ffi.Pointer<libusb_bos_descriptor>> bos,
) {
  return (_libusb_get_bos_descriptor ??= _dylib.lookupFunction<
      _c_libusb_get_bos_descriptor,
      _dart_libusb_get_bos_descriptor>('libusb_get_bos_descriptor'))(
    dev_handle,
    bos,
  );
}