Site Tools


documentation:development:opera:pf25:tktfldr:dsrfldr:01dsr001

AllocPoolItem

Allocates an item from an item pool.

Synopsis

Item AllocPoolItem (ItemPoolPtr itemPool)

Description

Allocates an item from the specified item pool. An item pool must be created with CreateItemPool() before AllocPoolItem() can allocate items from it.

Arguments

  • itemPool Pool of items from which an item is allocated.

Return Value

  • Value Error Condition
  • (The first available item) None
  • 0 No items available in pool

Associated Files

ItemPool.h

See Also

documentation/development/opera/pf25/tktfldr/dsrfldr/01dsr001.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1