utility.library/PackStructureTags

Previous:
utility.library/PackBoolTags
TOC:
Table of Contents
Index:
All Documents
Next:
utility.library/RefreshTagItemClones

     Title:
PackStructureTags -- pack a structure with values from taglist. (V39)
     Synopsis:
num = PackStructureTags(pack,packTable,tagList);
D0                      A0   A1        A2

ULONG PackStructureTags(APTR,ULONG *,struct TagItem *);
     Function:
For each table entry, a FindTagItem() will be done and if the
matching tag is found in the taglist, the data field will be
packed into the given structure based on the packtable
definition.
     Parameters:
pack - a pointer to the data area to fill in.
packTable - a pointer to the packing information table.
    See <utility/pack.h> for definition and macros.
tagList - a pointer to the taglist to pack into the structure
     Results:
num - the number of tag items packed
     Related topics:
<utility/pack.h>, FindTagItem(), UnpackStructureTags()

Browse your own file: