CreateRange (FUN) ¶ FUNCTION CreateRange : STR.IRange Returns a STR.IRange instance placed in the memory area given by the parameters InOut: Scope Name Type Return CreateRange STR.IRange Input pbyMemory POINTER TO BYTE udiMemSize UDINT Output eErrorID STR.ERROR
BlockGetData (FUN) ¶ FUNCTION BlockGetData : PVOID InOut: Scope Name Type Return BlockGetData PVOID Input hBlock HANDLE peError POINTER TO ERROR
BlockGetPool (FUN) ¶ FUNCTION BlockGetPool : HANDLE InOut: Scope Name Type Return BlockGetPool HANDLE Input hBlock HANDLE peError POINTER TO ERROR
PoolCreateH (FUN) ¶ FUNCTION PoolCreateH : HANDLE Take a pool of ctNumBlocks * szBlockSize bytes from the Heap(OS) and build a block pool InOut: Scope Name Type Return PoolCreateH HANDLE Input ctNumBlocks COUNT szBlockSize SIZE peError POINTER TO ERROR
PoolCreateP (FUN) ¶ FUNCTION PoolCreateP : 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 HANDLE Input szBlockSize SIZE szMemSize SIZE pMemory PVOID 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 HANDLE
PoolExtendH (FUN) ¶ FUNCTION PoolExtendH : ERROR InOut: Scope Name Type Return PoolExtendH ERROR Input hPool HANDLE ctNumBlocks COUNT
PoolGetBlock (FUN) ¶ FUNCTION PoolGetBlock : HANDLE Gets the next available block from hPool and returns ist handle InOut: Scope Name Type Return PoolGetBlock HANDLE Input hPool HANDLE peError POINTER TO ERROR
PoolGetBlockSize (FUN) ¶ FUNCTION PoolGetBlockSize : SIZE InOut: Scope Name Type Return PoolGetBlockSize SIZE Input hPool HANDLE peError POINTER TO ERROR
PoolGetCurCapacity (FUN) ¶ FUNCTION PoolGetCurCapacity : COUNT InOut: Scope Name Type Return PoolGetCurCapacity COUNT Input hPool HANDLE peError POINTER TO ERROR