| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Detect correct graphical driver to use
Source position: graphh.inc line 766
procedure DetectGraph(  | 
var GraphDriver: SmallInt;  | 
var GraphMode: SmallInt  | 
);  | 
DetectGraph checks the hardware in the PC and determines the driver and screen-modus to be used. These are returned in Driver and Modus, and can be fed to InitGraph. See the InitGraph for a list of drivers and modi.
None.
  | 
Initialize graphical system  |