A_GetUSBDeviceInfo method

int A_GetUSBDeviceInfo(
  1. int nPort,
  2. String pDeviceName,
  3. int pDeviceNameLen,
  4. String pDevicePath,
  5. int pDevicePathLen,
)

Implementation

int A_GetUSBDeviceInfo(
  int nPort,
  String pDeviceName,
  int pDeviceNameLen,
  String pDevicePath,
  int pDevicePathLen,
) {
  return _A_GetUSBDeviceInfo(
    nPort,
    pDeviceName.toNativeUtf8().cast<ffi.Int8>(),
    pDeviceNameLen.toString().toNativeUtf8().cast<ffi.Int32>(),
    pDevicePath.toNativeUtf8().cast<ffi.Int8>(),
    pDevicePathLen.toString().toNativeUtf8().cast<ffi.Int32>(),
  );
}