a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » AllocateTagItems

NAME

	AllocateTagItems -- allocate a tag list. (V36)

SYNOPSIS

	tagList = AllocateTagItems(numTags);
D0 D0
struct TagItem *AllocateTagItems(ULONG);

FUNCTION

	Allocates the specified number of usable TagItems slots.
Note that to access the TagItems in 'tagList', you should use
the function NextTagItem(). This will insure you respect any
chaining (TAG_MORE) and secret hiding places (TAG_IGNORE) that
this function might generate.

INPUTS

	numTags - the number of TagItem slots you want to allocate.

RESULT

	tagList	- the allocated chain of TagItem structures, or NULL if
there was not enough memory. An allocated tag list must
eventually be freed using FreeTagItems().

SEE ALSO

<utility/tagitem.h>, FreeTagItems(), CloneTagItems()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Scoopex

ANA
AYS
SCX
ATX

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se