gflGetErrorString

GFL SDK

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_ERROR0No error
    GFL_ERROR_FILE_OPEN1File open error
    GFL_ERROR_FILE_READ2File read error
    GFL_ERROR_FILE_CREATE3File create error
    GFL_ERROR_FILE_WRITE4File write error
    GFL_ERROR_NO_MEMORY5No more memory
    GFL_ERROR_UNKNOWN_FORMAT6Unknown format
    GFL_ERROR_BAD_BITMAP7The format doesn't permit to save this type of picture
    GFL_ERROR_BAD_FORMAT_INDEX10Bad picture format
    GFL_ERROR_BAD_PARAMETERS50Bas parameters
    GFL_UNKNOWN_ERROR255Other error

Return value

    The function returns a null-terminated string that contains the error string.