Reading an Attribute

You can read the physical attribute associated with the character located at the virtual cursor with the video out attribute function, vo_att(). Because both memory screens and the physical screen contain only physical attributes, this function returns a physical attribute. Physical attributes for monochrome and color displays are defined in vv_sys.h.

The call for vo_att() is as follows:

UCHAR vo_att(wnp)

WINDOWPTR wnp;        /* Pointer to window to read from            */


Home Contents Previous Next