SetConsoleDisplayMode method

int SetConsoleDisplayMode(
  1. Pointer<Void> hConsoleOutput,
  2. int dwFlags,
  3. Pointer<PCOORD> lpNewScreenBufferDimensions
)

Implementation

int SetConsoleDisplayMode(
  ffi.Pointer<ffi.Void> hConsoleOutput,
  int dwFlags,
  ffi.Pointer<PCOORD> lpNewScreenBufferDimensions,
) {
  return (_SetConsoleDisplayMode ??= _dylib.lookupFunction<
      _c_SetConsoleDisplayMode,
      _dart_SetConsoleDisplayMode>('SetConsoleDisplayMode'))(
    hConsoleOutput,
    dwFlags,
    lpNewScreenBufferDimensions,
  );
}