home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / PROGRAM / VIDEO.ZIP / VIDEOID.H < prev    next >
C/C++ Source or Header  |  1992-06-29  |  2KB  |  26 lines

  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2.  *                                     .                                     *
  3.  *                                   Video                                   *
  4.  *                                                                           *
  5.  *                    (c) Copyright 1988 Michael K. Heney                    *
  6.  *                                                                           *
  7.  * File:      VideoID.H                                                      *
  8.  * Purpose:   VideoID header file.                                           *
  9.  *                                                                           *
  10.  * Written:   15 Jul 88 - 16 Jul 88 MKH                                      *
  11.  *                                                                           *
  12.  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  13.  
  14. enum videocard { None, MDA, CGA, EGA, MCGA, VGA, HGC=0x80, HGCPlus, InColor } ;
  15.  
  16. enum display { NoDisplay, MDADisplay, CGADisplay, EGAColorDisplay,
  17.                PS2MonoDisplay, PS2ColorDisplay } ;
  18.  
  19. /* VideoID returns 4 bytes as a long, representing (from high order to low   *
  20.  * order bytes) the active videocard, active display, second videocard, and  *
  21.  * second display.  It is built using the formula                            *
  22.  * ( ( ( ( ( (active videocard << 8) | active display) << 8) |               *
  23.  *                 2nd videocard) << 8) | 2nd display)                       */
  24.  
  25. extern long VideoID() ;
  26.