Ejemplo n.º 1
0
 internal static extern bool ReadConsole(IntPtr consoleInput, StringBuilder buffer, uint numberOfCharsToRead, out uint numberOfCharsRead, ref Native.CONSOLE_READCONSOLE_CONTROL controlData);
Ejemplo n.º 2
0
 public static extern int GetWindowLong(IntPtr hWnd, Native.GWL nIndex);
Ejemplo n.º 3
0
 internal static extern bool GetWindowRect(IntPtr hWnd, out Native.RECTA lpRect);
Ejemplo n.º 4
0
 internal static extern bool SetConsoleWindowInfo(IntPtr consoleHandle, bool absolute, ref Native.SMALL_RECT windowInfo);
Ejemplo n.º 5
0
 internal static extern bool WriteConsoleOutput(IntPtr consoleOutput, Native.CHAR_INFO[] buffer, Native.Coord bufferSize, Native.Coord bufferCoord, ref Native.SMALL_RECT writeRegion);
Ejemplo n.º 6
0
 internal static extern bool SetConsoleCtrlHandler(Native.BreakHandler handlerRoutine, bool add);
Ejemplo n.º 7
0
 internal static extern bool SetConsoleCursorPosition(IntPtr consoleOutput, Native.Coord cursorPosition);
Ejemplo n.º 8
0
 internal static extern bool FillConsoleOutputAttribute(IntPtr consoleOutput, ushort attribute, uint length, Native.Coord writeCoord, out uint numberOfAttrsWritten);
Ejemplo n.º 9
0
 internal static extern bool FillConsoleOutputCharacter(IntPtr consoleOutput, char character, uint length, Native.Coord writeCoord, out uint numberOfCharsWritten);
Ejemplo n.º 10
0
 public static extern int SetWindowLong(IntPtr hWnd, Native.GWL nIndex, Native.WS_EX dwNewLong);
Ejemplo n.º 11
0
 internal static extern int EnumChildWindows(int hWndParent, Native.EnumChildCallback lpEnumFunc, int lParam);
Ejemplo n.º 12
0
 public static extern bool SetLayeredWindowAttributes(IntPtr hWnd, int crKey, byte alpha, Native.LWA dwFlags);
Ejemplo n.º 13
0
 public static extern int SetCurrentConsoleFontEx(uint hConsole, uint bMaximumWindow, ref Native.CONSOLE_FONT_INFOEX cfi);
Ejemplo n.º 14
0
 public static extern int SetConsoleScreenBufferInfoEx(uint hConsole, ref Native.CONSOLE_SCREEN_BUFFER_INFOEX csbi);
Ejemplo n.º 15
0
 internal static extern bool ReadConsoleOutput(IntPtr consoleOutput, [Out] Native.CHAR_INFO[] buffer, Native.Coord bufferSize, Native.Coord bufferCoord, ref Native.SMALL_RECT readRegion);
Ejemplo n.º 16
0
 internal static extern bool GetClientRect(IntPtr hWnd, out Native.RECTA lpRect);
Ejemplo n.º 17
0
 internal static extern bool ScrollConsoleScreenBuffer(IntPtr consoleOutput, ref Native.SMALL_RECT scrollRectangle, ref Native.SMALL_RECT clipRectangle, Native.Coord destinationOrigin, ref Native.CHAR_INFO fill);
Ejemplo n.º 18
0
 internal static extern bool GetConsoleScreenBufferInfo(IntPtr consoleHandle, out Native.CONSOLE_SCREEN_BUFFER_INFO consoleScreenBufferInfo);
Ejemplo n.º 19
0
 internal static extern bool SetConsoleCursorInfo(IntPtr consoleOutput, ref Native.CONSOLE_CURSOR_INFO consoleCursorInfo);
Ejemplo n.º 20
0
 internal static extern bool GetCurrentConsoleFont(IntPtr hConsoleOutput, bool bMaximumWindow, out Native.CONSOLE_FONT_INFO lpConsoleCurrentFont);
Ejemplo n.º 21
0
 internal static extern bool SetConsoleScreenBufferSize(IntPtr consoleOutput, Native.Coord size);
Ejemplo n.º 22
0
 internal static extern bool GetTextMetrics(IntPtr hdc, out Native.TEXTMETRIC tm);
Ejemplo n.º 23
0
 internal static extern bool TranslateCharsetInfo(IntPtr src, out Native.CHARSETINFO Cs, uint options);
Ejemplo n.º 24
0
 internal static extern bool GetWindowInfo(IntPtr hwnd, out Native.WINDOWINFO wi);
Ejemplo n.º 25
0
 public KeyInfo(int virtualKeyCode, char ch, Native.ControlKeyStates controlKeyState, bool keyDown)
 {
     this = new Native.KeyInfo();
     this.VirtualKeyCode = virtualKeyCode;
     this.Character = ch;
     this.ControlKeyState = controlKeyState;
     this.KeyDown = keyDown;
 }
Ejemplo n.º 26
0
 public static extern bool GetConsoleSelectionInfo(ref Native.CONSOLE_SELECTION_INFO lpConsoleSelectionInfo);