_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
_PoolGetNumBlocksLeft (FUN) ¶ FUNCTION _PoolGetNumBlocksLeft : CAA.COUNT InOut: Scope Name Type Return _PoolGetNumBlocksLeft CAA.COUNT Input hPool CAA.HANDLE peError POINTER TO ERROR
_PoolGetSize (FUN) ¶ FUNCTION _PoolGetSize : CAA.SIZE InOut: Scope Name Type Return _PoolGetSize CAA.SIZE Input ctNumBlock CAA.COUNT szBlockSize CAA.SIZE
_RLstAddPrio (FUN) ¶ FUNCTION _RLstAddPrio : ERROR Add the priroity level usiPrio to the ready list InOut: Scope Name Type Comment Return _RLstAddPrio ERROR Input hRLst CAA.HANDLE usiPrio USINT [0..63] Priotity Level
_PoolPutBlock (FUN) ¶ FUNCTION _PoolPutBlock : ERROR Clears the block owner and returns hBlock to its pool InOut: Scope Name Type Return _PoolPutBlock ERROR Input hBlock CAA.HANDLE