SetConsoleDisplayMode function kernel32

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

Sets the display mode of the specified console screen buffer.

BOOL SetConsoleDisplayMode(
  _In_      HANDLE hConsoleOutput,
  _In_      DWORD  dwFlags,
  _Out_opt_ PCOORD lpNewScreenBufferDimensions
);

Implementation

int SetConsoleDisplayMode(int hConsoleOutput, int dwFlags,
        Pointer<COORD> lpNewScreenBufferDimensions) =>
    _SetConsoleDisplayMode(
        hConsoleOutput, dwFlags, lpNewScreenBufferDimensions);