WaitCommEvent method

int WaitCommEvent(
  1. Pointer<Void> hFile,
  2. Pointer<Uint64> lpEvtMask,
  3. Pointer<LPOVERLAPPED> lpOverlapped
)

Implementation

int WaitCommEvent(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<ffi.Uint64> lpEvtMask,
  ffi.Pointer<LPOVERLAPPED> lpOverlapped,
) {
  return (_WaitCommEvent ??=
      _dylib.lookupFunction<_c_WaitCommEvent, _dart_WaitCommEvent>(
          'WaitCommEvent'))(
    hFile,
    lpEvtMask,
    lpOverlapped,
  );
}