Supported Browsers Home   
MGL_errorMsg Previous   
MGL_fadePalette Next   
External Functions Up   

MGL_exit

Closes down the MGL.

Declaration

void MGLAPI MGL_exit(void)

Prototype In

mgraph.h

Description

This function closes down the MGL, deallocating any memory allocated for use by the MGL, and restoring the system back into the original display mode that was active before the MGL was started. This routine also properly removes all interrupt handlers and other system services that MGL hooked when it was initialized.

You must call this routine before you exit your application, to ensure that the system is properly terminated.

See Also

MGL_init

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com