libusb_set_interface_alt_setting method

int libusb_set_interface_alt_setting(
  1. Pointer<libusb_device_handle> dev_handle,
  2. int interface_number,
  3. int alternate_setting
)

Implementation

int libusb_set_interface_alt_setting(
  ffi.Pointer<libusb_device_handle> dev_handle,
  int interface_number,
  int alternate_setting,
) {
  return (_libusb_set_interface_alt_setting ??= _dylib.lookupFunction<
          _c_libusb_set_interface_alt_setting,
          _dart_libusb_set_interface_alt_setting>(
      'libusb_set_interface_alt_setting'))(
    dev_handle,
    interface_number,
    alternate_setting,
  );
}