|
QLIB-function: QAPIGetLastErrorStringEx
Obtains error message strings for the QLIB error codes returned by QAPIGetLastError and QAPIGetLastErrorCode
ULONG QAPIGetLastErrorStringEx(
char* buffer,
ULONG buffersize);
Parameter 1
| buffer |
Pointer to a buffer that receives the null-terminated string that specifies the
formatted message. |
Parameter 2:
| buffersize |
This parameter specifies the size of the output buffer, in chars. |
Return value
If the function succeeds, the return value is the number of chars stored in the output buffer, excluding the terminating null character.
Commands
Within the message text, several "[xxxx]" sequences are included for formatting the message. These "[xxxx]" sequences and their meanings are shown below. Empty or missing parts are removed from the output string. The output string is formatted as follows:
[LASTERRORCODE][EXTENDEDLASTERRORCODE][ERRORTEXT][FILENAME][LINE NUMBER]
Back to the QLIB overview
|