LlEnumGetFirstField

Syntax:

HLISTPOS LlEnumGetFirstField (HLLJOB hJob, UINT nFlags);

Task:

Returns an iterator for the first field. The name does not have to be known, the fields 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_HTML, LL_RTF, LL_TYPEMASK (to iterate all of them)

Return Value:

Iterator of first field, or NULL if no field exists.

Hints:

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

See also:

LlEnumGetFirstVar, LlEnumGetNextEntry, LlEnumGetEntry