_PoolCreateH (FUN) ¶ FUNCTION _PoolCreateH : CAA.HANDLE Take a pool of ctNumBlocks * szBlockSize bytes from the Heap(OS) and build a block pool InOut: Scope Name Type Return _PoolCreateH CAA.HANDLE Input ctNumBlocks CAA.COUNT szBlockSize CAA.SIZE eEmpty CB.EVENT peError POINTER TO ERROR
_PoolCreateP (FUN) ¶ FUNCTION _PoolCreateP : CAA.HANDLE Take as much as possible block of szBlockSize bytes from a PLC(IEC) provided memory and build a block pool InOut: Scope Name Type Return _PoolCreateP CAA.HANDLE Input szBlockSize CAA.SIZE szMemSize CAA.SIZE pMemory CAA.PVOID eEmpty CB.EVENT peError POINTER TO ERROR
_PoolDelete (FUN) ¶ FUNCTION _PoolDelete : ERROR Deletes a block pool created by PoolCreateX provided that all blocks are free If a block is in use, this call aborts InOut: Scope Name Type Return _PoolDelete ERROR Input hPool CAA.HANDLE
_PoolExtendH (FUN) ¶ FUNCTION _PoolExtendH : ERROR InOut: Scope Name Type Return _PoolExtendH ERROR Input hPool CAA.HANDLE ctNumBlocks CAA.COUNT
_PoolGetBlock (FUN) ¶ FUNCTION _PoolGetBlock : CAA.HANDLE Gets the next available block from hPool and returns ist handle InOut: Scope Name Type Return _PoolGetBlock CAA.HANDLE Input hPool CAA.HANDLE peError POINTER TO ERROR
_PoolGetBlockSize (FUN) ¶ FUNCTION _PoolGetBlockSize : CAA.SIZE InOut: Scope Name Type Return _PoolGetBlockSize CAA.SIZE Input hPool CAA.HANDLE peError POINTER TO ERROR
_PoolGetCurCapacity (FUN) ¶ FUNCTION _PoolGetCurCapacity : CAA.COUNT InOut: Scope Name Type Return _PoolGetCurCapacity CAA.COUNT Input hPool CAA.HANDLE peError POINTER TO ERROR
FlatDelete (FUN) ¶ FUNCTION FlatDelete : ERROR InOut: Scope Name Type Return FlatDelete ERROR Input hFlat CAA.HANDLE
FlatDisable (FUN) ¶ FUNCTION FlatDisable : CAA.HANDLE InOut: Scope Name Type Return FlatDisable CAA.HANDLE Input hFlat CAA.HANDLE idKey CAA.IDENT peError POINTER TO ERROR
FlatEnable (FUN) ¶ FUNCTION FlatEnable : ERROR InOut: Scope Name Type Return FlatEnable ERROR Input hFlat CAA.HANDLE idKey CAA.IDENT