LlGetUserVariableContents

Syntax:

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

Task:

Returns the contents of the corresponding user variable.

Parameter:

hJob: List & Label job handle

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

lpszBuffer: Address of buffer for contents

nBufSize: Maximum number of characters to be copied

Return Value:

Error code (LL_ERR_UNKNOWN_FIELD or 0)

Hints:

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

The variable type can be requested with LlGetVariableType() or LlGetFieldType().

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

See also:

LlGetSumVariableContents, LlGetVariableContents