Beispiel #1
0
 public static extern bool WriteConsoleOutputW(
     ConsoleHandle hConsoleOutput,
     [MarshalAs(UnmanagedType.LPArray), In] CharInfo[,] lpBuffer,
     COORD dwBufferSize,
     COORD dwBufferCoord,
     ref SMALL_RECT lpWriteRegion
     );
Beispiel #2
0
 public static extern bool WriteConsoleOutputCharacterW(
     ConsoleHandle hConsoleOutput,
     char[] lpCharacter,
     int nLength,
     COORD dwWriteCoord,
     out int lpumberOfCharsWritten
     );
Beispiel #3
0
 public static extern bool FillConsoleOutputAttribute(
     ConsoleHandle hConsoleOutput,
     CharAttribute wAttribute,
     int nLength,
     COORD dwWriteCoord,
     out uint lpNumberOfAttrsWritten
     );
Beispiel #4
0
 public static extern bool FillConsoleOutputCharacter(
     ConsoleHandle hConsoleOutput,
     char cCharacter,
     int nLength,
     COORD dwWriteCoord,
     out uint lpNumberOfCharsWritten
     );
Beispiel #5
0
 public static extern bool ReadConsoleOutput(
     ConsoleHandle hConsoleOutput,
     [Out] CharInfo[,] lpBuffer,
     COORD dwBufferSize,
     COORD dwBufferCoord,
     ref SMALL_RECT lpReadRegion
     );
Beispiel #6
0
 public static extern bool ReadConsoleOutputCharacter(
     ConsoleHandle hConsoleOutput,
     [Out] char[] lpCharacter,
     uint nLength,
     COORD dwReadCoord,
     out uint lpNumberOfCharsRead
     );
Beispiel #7
0
 public static extern bool ReadConsoleInput(
     ConsoleHandle hConsoleInput,
     [MarshalAs(UnmanagedType.LPArray)]
     [Out] INPUT_RECORD[] lpBuffer,
     uint nLength,
     out uint lpNumberOfEventsRead
     );
Beispiel #8
0
 public static extern bool DuplicateHandle(
     IntPtr hSourceProcessHandle,
     IntPtr hSourceHandle,
     IntPtr hTargetProcessHandle,
     out ConsoleHandle lpTargetHandle,
     short dwDesiredAccess,
     bool bInheritHandle,
     DuplicateOptions dwOptions
     );
Beispiel #9
0
 public static extern bool SetCurrentConsoleFontEx(
     ConsoleHandle ConsoleOutput,
     bool MaximumWindow,
     ref CONSOLE_FONT_INFO_EX ConsoleCurrentFontEx
     );
Beispiel #10
0
 public static extern bool SetConsoleMode(ConsoleHandle hConsoleHandle, ConsoleModes dwMode);
Beispiel #11
0
 public static extern COORD GetLargestConsoleWindowSize(
     ConsoleHandle hConsoleOutput
     );
Beispiel #12
0
 public static extern bool GetConsoleCursorInfo(
     ConsoleHandle hConsoleOutput,
     out CONSOLE_CURSOR_INFO lpConsoleCursorInfo
     );
Beispiel #13
0
 public static extern bool SetConsoleCursorInfo(
     ConsoleHandle hConsoleOutput,
     [In] ref CONSOLE_CURSOR_INFO lpConsoleCursorInfo
     );
Beispiel #14
0
 public static extern bool SetConsoleScreenBufferInfoEx(
     ConsoleHandle hConsoleOutput,
     ref CONSOLE_SCREEN_BUFFER_INFO_EX ConsoleScreenBufferInfo
     );
Beispiel #15
0
 public static extern bool SetConsoleScreenBufferSize(
     ConsoleHandle hConsoleOutput,
     COORD dwSize
     );
Beispiel #16
0
 public extern static bool GetCurrentConsoleFont(
     ConsoleHandle hConsoleOutput,
     bool bMaximumWindow,
     out CONSOLE_FONT_INFO lpConsoleCurrentFont
     );
Beispiel #17
0
 public static extern bool ReadConsoleInput(
     ConsoleHandle hConsoleInput,
     ref INPUT_RECORD lpBuffer,
     uint nLength,
     ref uint lpNumberOfEventsRead
     );
Beispiel #18
0
 public static extern bool GetConsoleMode(ConsoleHandle hConsoleHandle, ref ConsoleModes lpMode);
Beispiel #19
0
 public extern static COORD GetConsoleFontSize(
     ConsoleHandle hConsoleOutput,
     uint nFont
     );
Beispiel #20
0
 public static extern bool GetConsoleScreenBufferInfo(
     ConsoleHandle hConsoleOutput,
     out CONSOLE_SCREEN_BUFFER_INFO ConsoleScreenBufferInfo
     );
Beispiel #21
0
 public static extern bool SetConsoleActiveScreenBuffer(ConsoleHandle hConsoleOutput);
Beispiel #22
0
 public static extern bool SetConsoleWindowInfo(
     ConsoleHandle hConsoleOutput,
     bool bAbsolute,
     ref SMALL_RECT lpConsoleWindow
     );