10 CONSOLE_SCREEN_BUFFER_INFO info;
13 memset( pRect, 0,
sizeof(SMALL_RECT) );
16 memcpy( pRect, &info.srWindow,
sizeof(SMALL_RECT) );
19 pRect->Top = info.srWindow.Top;
20 pRect->Right = info.dwSize.X - 1;
21 pRect->Bottom = info.srWindow.Bottom;
107 int win_left, win_top;
116 *left += win_left - 1;
120 *right += win_left - 1;
122 *bottom += win_top - 1;
127 int win_left, win_top;
136 *left -= win_left - 1;
140 *right -= win_left - 1;
142 *bottom -= win_top - 1;