| www.delorie.com/djgpp/doc/libc-2.01/libc_545.html | search |
#include <pc.h> void ScreenGetChar(int *ch, int *attr, int col, int row);
This function stores the character and attribute of the current
primary screen at row given by row and column given by col
(these are zero-based) into the integers whose address is specified by
ch and attr. It does so by directly accessing the video memory,
so it will only work when the screen is in text mode. You can pass the value
NULL in each of the pointers if you do not want to retrieve the
the corresponding information.
None.
int ch, attr; ScreenGetChar(&ch, &attr, 0, 0);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |