Example #1
0
 public static extern bool FillConsoleOutputAttribute(
     IntPtr hConsoleOutput,
     ushort wAttribute,
     uint nLength,
     COORD dwWriteCoord,
     out uint lpNumberOfAttrsWritten
     );
Example #2
0
 public static extern bool FillConsoleOutputCharacter(
     IntPtr hConsoleOutput,
     char cCharacter,
     uint nLength,
     COORD dwWriteCoord,
     out uint lpNumberOfCharsWritten
     );
Example #3
0
 public static extern bool WriteConsoleOutput(
     IntPtr hConsoleOutput,
     CHAR_INFO[] lpBuffer,
     COORD dwBufferSize,
     COORD dwBufferCoord,
     ref SMALL_RECT lpWriteRegion
     );
Example #4
0
 public WINDOW_BUFFER_SIZE_RECORD(short x, short y)
 {
     dwSize = new COORD();
     dwSize.X = x;
     dwSize.Y = y;
 }
Example #5
0
 public static extern bool SetConsoleDisplayMode(
     IntPtr ConsoleOutput,
     uint Flags,
     out COORD NewScreenBufferDimensions
     );
Example #6
0
 public static extern bool SetConsoleScreenBufferSize(
     IntPtr hConsoleOutput,
     COORD dwSize
     );
Example #7
0
 public static extern bool SetConsoleCursorPosition(
     IntPtr hConsoleOutput,
    COORD dwCursorPosition
     );
Example #8
0
 public static extern bool ScrollConsoleScreenBuffer(
     IntPtr hConsoleOutput,
    [In] ref SMALL_RECT lpScrollRectangle,
     IntPtr lpClipRectangle,
    COORD dwDestinationOrigin,
     [In] ref CHAR_INFO lpFill
     );
Example #9
0
 public static extern bool ReadConsoleOutputCharacter(
     IntPtr hConsoleOutput,
     [Out] StringBuilder lpCharacter,
     uint nLength,
     COORD dwReadCoord,
     out uint lpNumberOfCharsRead
     );
Example #10
0
 public static extern bool ReadConsoleOutputAttribute(
     IntPtr hConsoleOutput,
     [Out] ushort[] lpAttribute,
     uint nLength,
     COORD dwReadCoord,
     out uint lpNumberOfAttrsRead
     );
Example #11
0
 public static extern bool ReadConsoleOutput(
     IntPtr hConsoleOutput,
     [Out] CHAR_INFO[] lpBuffer,
     COORD dwBufferSize,
     COORD dwBufferCoord,
     ref SMALL_RECT lpReadRegion
     );