public static unsafe extern bool WriteConsoleOutput( IntPtr hConsoleOutput, CHAR_INFO *lpBuffer, //CHAR_INFO SMALL_COORD dwBufferSize, SMALL_COORD dwBufferCoord, SMALL_RECT *lpWriteRegion );
public SMALL_RECT(SMALL_COORD LeftTop, SMALL_COORD RightBottom) { Left = LeftTop.x; Top = LeftTop.y; Right = RightBottom.x; Bottom = RightBottom.y; }
public static unsafe extern bool SetConsoleCursorPosition( IntPtr hConsoleOutput, SMALL_COORD dwPosition );