LlEnumGetFirstVar

Syntax:

HLISTPOS LlEnumGetFirstVar (HLLJOB hJob, UINT nFlags);

Task:

Returns an iterator for the first variable. The name does not have to be known, the variables are returned in the order in which they are declared to List & Label.

Parameter:

hJob: List & Label job handle

nFlags: Flags for the allowed types of fields (to be 'or'ed):
LL_TEXT, LL_BOOLEAN, LL_BARCODE, LL_DRAWING, LL_NUMERIC, LL_DATE, LL_RTF, LL_HTML, LL_TYPEMASK (to iterate all of them)

Return Value:

Iterator of first variable, or NULL if no further variable exists.

Hints:

During the iteration, a call to LlDefineVariableStart() is prohibited!

Internal variables are not iterated.

See also:

LlEnumGetFirstField, LlEnumGetNextEntry, LlEnumGetEntry