Example #1
0
 public static unsafe extern bool WriteConsoleOutput(
     IntPtr hConsoleOutput,
     CHAR_INFO *lpBuffer,   //CHAR_INFO
     SMALL_COORD dwBufferSize,
     SMALL_COORD dwBufferCoord,
     SMALL_RECT *lpWriteRegion
     );
Example #2
0
 public static extern int SetConsoleWindowInfo([NativeTypeName("HANDLE")] IntPtr hConsoleOutput, [NativeTypeName("BOOL")] int bAbsolute, [NativeTypeName("const SMALL_RECT *")] SMALL_RECT *lpConsoleWindow);
Example #3
0
 public static extern int ReadConsoleOutputW([NativeTypeName("HANDLE")] IntPtr hConsoleOutput, [NativeTypeName("PCHAR_INFO")] CHAR_INFO *lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, [NativeTypeName("PSMALL_RECT")] SMALL_RECT *lpReadRegion);
Example #4
0
 public static extern int WriteConsoleOutputA([NativeTypeName("HANDLE")] IntPtr hConsoleOutput, [NativeTypeName("const CHAR_INFO *")] CHAR_INFO *lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, [NativeTypeName("PSMALL_RECT")] SMALL_RECT *lpWriteRegion);
Example #5
0
 public static extern int ScrollConsoleScreenBufferW([NativeTypeName("HANDLE")] IntPtr hConsoleOutput, [NativeTypeName("const SMALL_RECT *")] SMALL_RECT *lpScrollRectangle, [NativeTypeName("const SMALL_RECT *")] SMALL_RECT *lpClipRectangle, COORD dwDestinationOrigin, [NativeTypeName("const CHAR_INFO *")] CHAR_INFO *lpFill);
 internal static extern unsafe bool SetConsoleWindowInfo(IntPtr hConsoleOutput, bool absolute, SMALL_RECT *consoleWindow);
Example #7
0
 private static unsafe extern BOOL SetConsoleWindowInfo(IntPtr handle, BOOL absolute, SMALL_RECT *consoleWindow);
Example #8
0
 internal static unsafe partial bool SetConsoleWindowInfo(IntPtr hConsoleOutput, [MarshalAs(UnmanagedType.Bool)] bool absolute, SMALL_RECT *consoleWindow);
Example #9
0
 public static extern BOOL ReadConsoleOutputA(HANDLE hConsoleOutput, [NativeTypeName("PCHAR_INFO")] CHAR_INFO *lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, [NativeTypeName("PSMALL_RECT")] SMALL_RECT *lpReadRegion);
Example #10
0
 public static extern BOOL WriteConsoleOutputW(HANDLE hConsoleOutput, [NativeTypeName("const CHAR_INFO *")] CHAR_INFO *lpBuffer, COORD dwBufferSize, COORD dwBufferCoord, [NativeTypeName("PSMALL_RECT")] SMALL_RECT *lpWriteRegion);
Example #11
0
 public static extern BOOL SetConsoleWindowInfo(HANDLE hConsoleOutput, BOOL bAbsolute, [NativeTypeName("const SMALL_RECT *")] SMALL_RECT *lpConsoleWindow);