LlGetLastErrorText

Syntax:

INT LlGetLastErrorText(HLLJOB hJob, LPWSTR pszBuffer, UINT nBufSize);

Task:

Returns the List & Label error text and the detailed windows error.

Parameter:

hJob: List & Label job handle

pszBuffer: Buffer for return value

nBufSize: Size of buffer

Return value:

Error code or buffer size needed, if pszBuffer is NULL.

Hints:

See chapter Important Remarks on the Function Parameters of DLLs concerning the buffer return value.