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.
_setvideomode
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   <graph.h>
 
  Syntax:    short _setvideomode( short mode );
             mode: _DEFAULTMODE, _ERESCOLOR, _ERESNOCOLOR, _HERCMONO,
                   _HRES16COLOR, _HRESBW, _MAXCOLORMODE, _MAXRESMODE,
                   _MRES4COLOR, _MRES16COLOR, _MRES256COLOR,
                   _MRESNOCOLOR, _ORESCOLOR, _TEXTBW40, _TEXTBW80,
                   _TEXTC40, _TEXTC80, _TEXTMONO, _VRES2COLOR,
                   _VRES16COLOR
 
  Returns:   the number of text rows if successful, or 0 if not.
 
  See also:  _getvideoconfig, _settextrows, _setvideomoderows
                                    -♦-