Returns a string containing information about a status code.
CalFreqRefGetError (hHandle, lStatus, psError, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Function Reference. |
lStatus |
LONG |
Error status to decode. |
psError |
PSTR |
Returns the error message associated with lStatus. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The following example gets the error information for lErrorStatus:
LONG lHandle, lErrorStatus, lStatus;
CHAR szError[256];
CalFreqRefGetError (lHandle, lErrorStatus, szError, &lStatus);
printf(“Error Status code %d is: %s”, lErrorStatus, szError);