LlGetSumVariableContents

Syntax:

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

Task:

Returns the contents of the corresponding sum variable.

Parameter:

hJob: 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 sum variables.

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

See also:

LlDefineSumVariable, LlGetUserVariableContents, LlGetVariableContents