libusb_control_transfer method

int libusb_control_transfer(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int request_type,
  3. int bRequest,
  4. int wValue,
  5. int wIndex,
  6. Pointer<UnsignedChar> data,
  7. int wLength,
  8. int timeout,
)

Implementation

int libusb_control_transfer(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int request_type,
  int bRequest,
  int wValue,
  int wIndex,
  ffi.Pointer<ffi.UnsignedChar> data,
  int wLength,
  int timeout,
) {
  return _libusb_control_transfer(
    dev_handle,
    request_type,
    bRequest,
    wValue,
    wIndex,
    data,
    wLength,
    timeout,
  );
}