public static extern bool ReadConsoleOutputCharacter(IntPtr hConsoleOutput, StringBuilder lpCharacter, uint nLength, COORD dwReadCoord, out uint lpNumberOfCharsRead);
public static extern bool ReadConsoleOutputAttribute(IntPtr hConsoleOutput, [Out] ushort [] lpAttribute, uint nLength, COORD dwReadCoord, out uint lpNumberOfAttrsRead);
public static extern bool FillConsoleOutAttributes(IntPtr hConsoleOutput, ushort wAttribute, uint nLength, COORD dwWriteCoord, out uint lpNumberOfAttrsWritten);
public static extern bool WriteConsoleOutputCharacter(IntPtr hConsoleOutput, StringBuilder lpCharacter, uint nLength, COORD dwWriteCoord, out uint lpNumberOfCharsWritten);
public static extern bool SetConsoleScreenBufferSize(IntPtr hConsoleOutput, COORD dwSize);
public static extern bool SetConsoleCursorPosition(IntPtr hConsoleOutput, COORD dwCursorPosition);