This function of the CAA_ MemBlockMan.Library corresponds to function MBM.PoolCreateH. As distinct from this a pool object is created from the memory of an IEC data structure, which is stored as from address pMemory and has size szMemSize. The size szMemSize can be calculated via function MBM.PoolGetSize.
MBM.PoolCreateP
szBlockSize |
CAA.SIZE |
Size of a certain block. |
szMemSize |
CAA.SIZE |
Size of the area provided by the IEC standard. |
pMemory |
CAA.PVOID |
Start address of the area which is provided by the IEC. |
eEmpty |
CB.EVENT |
Event if pool is empty. Parameter is the pool handle hPool. |
peError |
POINTER TO MBM.ERROR |
Pointer on error ID. |
hPool |
CAA.HANDLE |
Handle of block pool. |