DoneEx INI-File Manager Library  API Help

  GetLastErrDescr

The function GetLastErrDescr retrieves description of the last error.

				
int GetLastErrDescr(char **description,
                     int   buf_size
);				

Parameters
description
[input] Pointer to pointer to null-terminated string where result error description will be placed.
buf_size
[input] The size of buffer for the error description.

Return Values
If succeed the GetLastErrDescr function returns zero. Otherwise it returns value not equal to zero. To get extended error information, call GetLastErr.