Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>vidinit() video function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  VIDINIT()                                                   Video Function
 Purpose..: Re-initialize the FreshWin video sub-system
-------------------------------------------------------------------------------
 Syntax...: VidInit() --> nVideoType

 Arguments: none  

 Returns..: nVideoType is the numeric representation of
            the video card type. In FW_MAIN.CH, these have been defined
            as manifest constants. You may wish to use them with
            the function as in the examples below. They are:

            Video Card Manifest Constants as found in FW_MAIN.CH
            ---------------------------------------------------
            Value  FW_MAIN.CH   Description
            ---------------------------------------------------
            0      V_NONE       none
            1      V_MDA        monochrome display adapter
            2      V_EGAMONO    monochrome EGA
            3      V_MCGAMONO   monochrome CGA
            4      V_VGAMONO    monochrome VGA
            5      V_HGC
            6      V_HGCPLUS
            7      V_INCOLOR
            8      V_CGA        color graphics adapter
            9      V_EGA        enhanced graphics adapter
            10     V_MCGA
            11     V_VGA
            ---------------------------------------------------

 Remark...: This function reinitializes the FreshWin video system.
             It should be the first function called in an application.
             VidInit() will check for the monitor type, DesqView, line
             mode, etc.. and set the FreshWin structure appropriately.

             We recommend that it be the first function
             called in an application.

 Source...: VIDINIT.C
-------------------------------------------------------------------------------
 Example..: . vidInit()

See Also:

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson