SetConsoleTextAttribute method

int SetConsoleTextAttribute(
  1. Pointer<Void> hConsoleOutput,
  2. int wAttributes
)

Implementation

int SetConsoleTextAttribute(
  ffi.Pointer<ffi.Void> hConsoleOutput,
  int wAttributes,
) {
  return (_SetConsoleTextAttribute ??= _dylib.lookupFunction<
      _c_SetConsoleTextAttribute,
      _dart_SetConsoleTextAttribute>('SetConsoleTextAttribute'))(
    hConsoleOutput,
    wAttributes,
  );
}