libusb_control_transfer method
Implementation
int libusb_control_transfer(
ffi.Pointer<libusb_device_handle> dev_handle,
int request_type,
int bRequest,
int wValue,
int wIndex,
ffi.Pointer<ffi.Uint8> data,
int wLength,
int timeout,
) {
return (_libusb_control_transfer ??= _dylib.lookupFunction<
_c_libusb_control_transfer,
_dart_libusb_control_transfer>('libusb_control_transfer'))(
dev_handle,
request_type,
bRequest,
wValue,
wIndex,
data,
wLength,
timeout,
);
}