graphics.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
videoconfig
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:    <graph.h>
 
  Structure:
 
  struct videoconfig
  {
      short numxpixels;    // Number of pixels on X axis
      short numypixels;    // Number of pixels on Y axis
      short numtextcols;   // Number of text columns available
      short numtextrows;   // Number of text rows available
      short numcolors;     // Number of colors
      short bitsperpixel;  // Number of bits per pixel
      short numvideopages; // Number of available video pages
      short mode;          // Current video mode
      short adapter;       // Active display adapter
      short monitor;       // Active display monitor
      short memory;        // Adapter video memory in K bytes
  };