Example #1
0
 public WinCon.CONSOLE_CURSOR_INFO GetCursorInfo(IntPtr hConsole)
 {
     WinCon.CONSOLE_CURSOR_INFO cursorInfo = new WinCon.CONSOLE_CURSOR_INFO();
     NativeMethods.Win32BoolHelper(WinCon.GetConsoleCursorInfo(hConsole, out cursorInfo), "Get cursor display information.");
     return(cursorInfo);
 }