LlGetVariableContents

Syntax:

INT LlGetVariableContents (HLLJOB hJob, LPCTSTR lpszName, LPTSTR lpszBuffer, UINT nBufSize);

Task:

Returns the contents of the corresponding variable.

Parameter:

hJob: Job handle

lpszName: Pointer to a string with the name of the variable

lpszBuffer: Address of buffer for contents

nBufSize: Maximum number of characters to be copied

Return Value:

Error code (LL_ERR_UNKNOWN or 0)

Hints:

This function can be used in callback routines to ask for the contents of variables.

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

See also:

LlDefineVariableStart, LlDefineVariableExt, LlDefineVariableExtHandle, LlGet­Variable­Type