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