public static extern bool SetConsoleScreenBufferSize( IntPtr hConsoleOutput, COORD dwSize );
public static extern bool SetConsoleCursorPosition( IntPtr hConsoleOutput, COORD dwCursorPosition );
public static extern bool SetConsoleDisplayMode( IntPtr ConsoleOutput, uint Flags, out COORD NewScreenBufferDimensions );
public WINDOW_BUFFER_SIZE_RECORD(short x, short y) { dwSize = new COORD(); dwSize.X = x; dwSize.Y = y; }