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
PoolGetSize (FUN) ¶ FUNCTION PoolGetSize : CAA.SIZE InOut: Scope Name Type Return PoolGetSize CAA.SIZE Input ctNumBlock CAA.COUNT szBlockSize CAA.SIZE
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
Ready List ¶ RLstAddPrio (Function) RLstCheckPrio (Function) RLstCreateH (Function) RLstCreateP (Function) RLstDelete (Function) RLstGetHighestPrio (Function) RLstGetSize (Function) RLstRemovePrio (Function)
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
RLstCheckPrio (FUN) ¶ FUNCTION RLstCheckPrio : BOOL return TRUE if the priority level usiPrio is part of the ready list InOut: Scope Name Type Comment Return RLstCheckPrio BOOL Input hRLst CAA.HANDLE usiPrio USINT [0..63] priority level. peError POINTER TO ERROR
RLstCreateH (FUN) ¶ FUNCTION RLstCreateH : CAA.HANDLE Take a SIZEOF(RLST) bytes from the Heap(OS) and build a Reday List InOut: Scope Name Type Return RLstCreateH CAA.HANDLE Input peError POINTER TO ERROR
RLstCreateP (FUN) ¶ FUNCTION RLstCreateP : CAA.HANDLE Take SIZEOF(RLST) bytes from a PLC(IEC) provided memory and build a Ready List InOut: Scope Name Type Return RLstCreateP CAA.HANDLE Input szMemory CAA.SIZE pMemory CAA.PVOID peError POINTER TO ERROR
RLstDelete (FUN) ¶ FUNCTION RLstDelete : ERROR free all allocated resources of a ready list InOut: Scope Name Type Return RLstDelete ERROR Input hRLst CAA.HANDLE