gflGetErrorString
The gflGetErrorString function returns a null-terminated string that contains the error string.
const char * gflGetErrorString( GFL_ERROR error );
Parameters
- error
-
Erreur possible GFL_NO_ERROR 0 No error GFL_ERROR_FILE_OPEN 1 File open error GFL_ERROR_FILE_READ 2 File read error GFL_ERROR_FILE_CREATE 3 File create error GFL_ERROR_FILE_WRITE 4 File write error GFL_ERROR_NO_MEMORY 5 No more memory GFL_ERROR_UNKNOWN_FORMAT 6 Unknown format GFL_ERROR_BAD_BITMAP 7 The format doesn't permit to save this type of picture GFL_ERROR_BAD_FORMAT_INDEX 10 Bad picture format GFL_ERROR_BAD_PARAMETERS 50 Bas parameters GFL_UNKNOWN_ERROR 255 Other error
Return value
The function returns a null-terminated string that contains the error string.