DMZ Graphics API Error Codes

 

The following are error codes that may be returned by dmz_graph_* functions:

Return Value

Meaning

DMZ_GRAPH_SUCCESS function returned successfully
DMZ_GRAPH_OPEN_ERR error opening specified file
DMZ_GRAPH_ALREADY_INIT graphics library already initialized
DMZ_GRAPH_DD_ERR DirectDraw Error
DMZ_GRAPH_NOT_INIT graphics library not yet initialized
DMZ_GRAPH_TOO_MANY cannot allocate any more surfaces, array already full
DMZ_GRAPH_SET_DISP_ERR could not seup the display mode
DMZ_GRAPH_SET_PAL_ERR could not setup up palette

Last updated October 23, 2000 01:18 by Emory Al-Imam