ResetGraph

Initializes the graphics system

int ResetGraph (
        int mode
)

Arguments

mode Specifies the reset mode as indicated below. 
0: Full reset. The drawing environment and display environment are initialized. 
1: The current drawing is cancelled and the command queue is flushed.

Return Value

None.

Explanation

The graphics system is reset with the mode specified by mode.