예제 #1
0
 internal static extern bool ReadConsole(IntPtr consoleInput, StringBuilder buffer, uint numberOfCharsToRead, out uint numberOfCharsRead, ref Native.CONSOLE_READCONSOLE_CONTROL controlData);
예제 #2
0
 public static extern int GetWindowLong(IntPtr hWnd, Native.GWL nIndex);
예제 #3
0
 internal static extern bool GetWindowRect(IntPtr hWnd, out Native.RECTA lpRect);
예제 #4
0
 internal static extern bool SetConsoleWindowInfo(IntPtr consoleHandle, bool absolute, ref Native.SMALL_RECT windowInfo);
예제 #5
0
 internal static extern bool WriteConsoleOutput(IntPtr consoleOutput, Native.CHAR_INFO[] buffer, Native.Coord bufferSize, Native.Coord bufferCoord, ref Native.SMALL_RECT writeRegion);
예제 #6
0
 internal static extern bool SetConsoleCtrlHandler(Native.BreakHandler handlerRoutine, bool add);
예제 #7
0
 internal static extern bool SetConsoleCursorPosition(IntPtr consoleOutput, Native.Coord cursorPosition);
예제 #8
0
 internal static extern bool FillConsoleOutputAttribute(IntPtr consoleOutput, ushort attribute, uint length, Native.Coord writeCoord, out uint numberOfAttrsWritten);
예제 #9
0
 internal static extern bool FillConsoleOutputCharacter(IntPtr consoleOutput, char character, uint length, Native.Coord writeCoord, out uint numberOfCharsWritten);
예제 #10
0
 public static extern int SetWindowLong(IntPtr hWnd, Native.GWL nIndex, Native.WS_EX dwNewLong);
예제 #11
0
 internal static extern int EnumChildWindows(int hWndParent, Native.EnumChildCallback lpEnumFunc, int lParam);
예제 #12
0
 public static extern bool SetLayeredWindowAttributes(IntPtr hWnd, int crKey, byte alpha, Native.LWA dwFlags);
예제 #13
0
 public static extern int SetCurrentConsoleFontEx(uint hConsole, uint bMaximumWindow, ref Native.CONSOLE_FONT_INFOEX cfi);
예제 #14
0
 public static extern int SetConsoleScreenBufferInfoEx(uint hConsole, ref Native.CONSOLE_SCREEN_BUFFER_INFOEX csbi);
예제 #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);
예제 #16
0
 internal static extern bool GetClientRect(IntPtr hWnd, out Native.RECTA lpRect);
예제 #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);
예제 #18
0
 internal static extern bool GetConsoleScreenBufferInfo(IntPtr consoleHandle, out Native.CONSOLE_SCREEN_BUFFER_INFO consoleScreenBufferInfo);
예제 #19
0
 internal static extern bool SetConsoleCursorInfo(IntPtr consoleOutput, ref Native.CONSOLE_CURSOR_INFO consoleCursorInfo);
예제 #20
0
 internal static extern bool GetCurrentConsoleFont(IntPtr hConsoleOutput, bool bMaximumWindow, out Native.CONSOLE_FONT_INFO lpConsoleCurrentFont);
예제 #21
0
 internal static extern bool SetConsoleScreenBufferSize(IntPtr consoleOutput, Native.Coord size);
예제 #22
0
 internal static extern bool GetTextMetrics(IntPtr hdc, out Native.TEXTMETRIC tm);
예제 #23
0
 internal static extern bool TranslateCharsetInfo(IntPtr src, out Native.CHARSETINFO Cs, uint options);
예제 #24
0
 internal static extern bool GetWindowInfo(IntPtr hwnd, out Native.WINDOWINFO wi);
예제 #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;
 }
예제 #26
0
 public static extern bool GetConsoleSelectionInfo(ref Native.CONSOLE_SELECTION_INFO lpConsoleSelectionInfo);