Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

PackStructureTags

Pack a structure with values from taglist.

Declaration

Source position: utility.pas line 292

function PackStructureTags(

  Pack: Pointer;

  const PackTable: PLongWord;

  const TagList: PTagItem

):LongWord;

Arguments

Pack

  

A pointer to the data area to fill in.

PackTable

  

A pointer to the packing information table.

TagList

  

A pointer to the taglist to pack into the structure

Function result

The number of tag items packed

Description

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.

See also

FindTagItem

  

Scan a tag list for a specific tag.

UnpackStructureTags

  

Unpack a structure to values in taglist.


Documentation generated on: 2021-07-30