_MsgRelease (FUN) ¶ FUNCTION _MsgRelease : ERROR If this message has the last reference, then Send it back to its ResourceExchange InOut: Scope Name Type Return _MsgRelease ERROR Input hMsg CAA.HANDLE
_MsgReleaseEx (FUN) ¶ FUNCTION _MsgReleaseEx : ERROR If this message has the last reference, then Send it back to hXchg InOut: Scope Name Type Return _MsgReleaseEx ERROR Input hMsg CAA.HANDLE hXChg CAA.HANDLE
_MsgSend (FUN) ¶ FUNCTION _MsgSend : ERROR InOut: Scope Name Type Return _MsgSend ERROR Input hMsg CAA.HANDLE usiPrio USINT hXChg CAA.HANDLE
_BlockGetData (FUN) ¶ FUNCTION _BlockGetData : CAA.PVOID InOut: Scope Name Type Return _BlockGetData CAA.PVOID Input hBlock CAA.HANDLE peError POINTER TO ERROR
_BlockGetPool (FUN) ¶ FUNCTION _BlockGetPool : CAA.HANDLE InOut: Scope Name Type Return _BlockGetPool CAA.HANDLE Input hBlock CAA.HANDLE peError POINTER TO ERROR
_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