示例#1
0
 public static extern int SetConsoleCursorInfo(HANDLE hConsoleOutput, ref CONSOLE_CURSOR_INFO lpConsoleCursorInfo);
示例#2
0
 public static extern bool SetConsoleCursorInfo(SafeHandle h, ref CONSOLE_CURSOR_INFO ci);
示例#3
0
文件: console.cs 项目: sirmax1/coin
 public void SetCursorInfo(int size, bool visible)
 {
     var ci = new CONSOLE_CURSOR_INFO() {
     dwSize = (uint)size,
     bVisible = visible
     };
     Api.Win32Check(Api.SetConsoleCursorInfo(Handle, ref ci));
 }
示例#4
0
文件: wincon.cs 项目: ufasoft/coin
 public static extern bool SetConsoleCursorInfo(SafeHandle h, ref CONSOLE_CURSOR_INFO ci);