ClearCommError method

int ClearCommError(
  1. Pointer<Void> hFile,
  2. Pointer<Uint64> lpErrors,
  3. Pointer<LPCOMSTAT> lpStat
)

Implementation

int ClearCommError(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<ffi.Uint64> lpErrors,
  ffi.Pointer<LPCOMSTAT> lpStat,
) {
  return (_ClearCommError ??=
      _dylib.lookupFunction<_c_ClearCommError, _dart_ClearCommError>(
          'ClearCommError'))(
    hFile,
    lpErrors,
    lpStat,
  );
}