WriteConsoleA method

int WriteConsoleA(
  1. Pointer<Void> hConsoleOutput,
  2. Pointer<Void> lpBuffer,
  3. int nNumberOfCharsToWrite,
  4. Pointer<Uint64> lpNumberOfCharsWritten,
  5. Pointer<Void> lpReserved,
)

Implementation

int WriteConsoleA(
  ffi.Pointer<ffi.Void> hConsoleOutput,
  ffi.Pointer<ffi.Void> lpBuffer,
  int nNumberOfCharsToWrite,
  ffi.Pointer<ffi.Uint64> lpNumberOfCharsWritten,
  ffi.Pointer<ffi.Void> lpReserved,
) {
  return (_WriteConsoleA ??=
      _dylib.lookupFunction<_c_WriteConsoleA, _dart_WriteConsoleA>(
          'WriteConsoleA'))(
    hConsoleOutput,
    lpBuffer,
    nNumberOfCharsToWrite,
    lpNumberOfCharsWritten,
    lpReserved,
  );
}