void gettextinfo(struct text_info *r);
Retrieves information from text-mode.
transfers the current text mode video information into the structure text_info pointed to by r.
available is wintop, winleft, winright, winbottom, attribute, normattr, currmode, screenheight, screenwidth, curx, cury
#include <conio.h> int main(void) { struct text_info information; gettextinfo(&information); clrscr(); cprintf("window left %2d\r\n",information.winleft); return 0; }
window left 1 c:\Borland>