Lines Matching refs:info
47 CONSOLE_SCREEN_BUFFER_INFO info;
176 CONSOLE_SCREEN_BUFFER_INFO info;
179 bRet = GetConsoleScreenBufferInfo (hStdout, &info);
182 *piLines = info.dwSize.Y;
292 CONSOLE_SCREEN_BUFFER_INFO info;
303 if (!GetConsoleScreenBufferInfo(hStdout, &info))
307 info.srWindow.Left = 0;
308 info.srWindow.Right = info.dwSize.X - 1;
309 info.srWindow.Top = 0;
310 info.srWindow.Bottom = cy - 1;
312 if (cy < info.dwSize.Y)
314 if (!SetConsoleWindowInfo(hStdout, TRUE, &info.srWindow))
317 info.dwSize.Y = cy;
319 if (!SetConsoleScreenBufferSize(hStdout, info.dwSize))
322 else if (cy > info.dwSize.Y)
324 info.dwSize.Y = cy;
326 if (!SetConsoleScreenBufferSize(hStdout, info.dwSize))
329 if (!SetConsoleWindowInfo(hStdout, TRUE, &info.srWindow))
333 if (!GetConsoleScreenBufferInfo(hStdout, &info))
337 info.srWindow.Left = 0;
338 info.srWindow.Right = cx - 1;
339 info.srWindow.Top = 0;
340 info.srWindow.Bottom = info.dwSize.Y - 1;
342 if (cx < info.dwSize.X)
344 if (!SetConsoleWindowInfo(hStdout, TRUE, &info.srWindow))
347 info.dwSize.X = cx;
349 if (!SetConsoleScreenBufferSize(hStdout, info.dwSize))
352 else if (cx > info.dwSize.X)
354 info.dwSize.X = cx;
356 if (!SetConsoleScreenBufferSize(hStdout, info.dwSize))
359 if (!SetConsoleWindowInfo(hStdout, TRUE, &info.srWindow))