OpenCommPort method

Pointer<Void> OpenCommPort(
  1. int uPortNumber,
  2. int dwDesiredAccess,
  3. int dwFlagsAndAttributes
)

Implementation

ffi.Pointer<ffi.Void> OpenCommPort(
  int uPortNumber,
  int dwDesiredAccess,
  int dwFlagsAndAttributes,
) {
  return (_OpenCommPort ??= _dylib
      .lookupFunction<_c_OpenCommPort, _dart_OpenCommPort>('OpenCommPort'))(
    uPortNumber,
    dwDesiredAccess,
    dwFlagsAndAttributes,
  );
}