Syntax:
INT LlGetErrortext(INT nError, LPTSTR lpszBuffer, UINT nBufSize);
Task:
Provides a localized error message for the passed error code.
Parameter:
nError: Error code
lpszBuffer: Pointer to buffer in which the message is to be stored
nBufSize: Size of buffer
Return value:
Error code or required buffer size
Hints
This function can be used to display an error message. More frequent errors are e.g. LL_ERR_EXPRESSION (-23) or LL_ERR_NOPRINTER (-11). If a job has already been opened, the output will occur in the language of the respective job, otherwise the language of the first language kit found will be used.
See chapter Important Remarks on the Function Parameters of DLLs concerning the buffer return value.