The parameters szMemSize and pMemory define a memory area managed by the IEC. Out of this a Flat will be created, the handle of which will be returned by hFlat. The further functionality corresponds to that of function ⇘ MBM.FlatCreateH.
Input:
idMinKey |
CAA.IDENT |
Lowest key value. |
idMaxKey |
CAA.IDENT |
Highest key value. |
ctNumKeys |
CAA.COUNT |
Number of keys to be managed. |
szMemSize |
CAA.SIZE |
Size of the area which is provided by the IEC. |
pMemory |
CAA.PVOID |
Start address of the area which is provided by the IEC. |
eEnable |
CB.EVENT |
Event, after MBM.FlatEnable. Parameter is the affected key idKey. |
eDisable |
CB.EVENT |
Event, nach MBM.FlatDisable Parameter is the affected key idKey. |
eUpdate |
CB.EVENT |
Event, nach MBM.FlatUpdate. Parameter is the affected key idKey. |
eRead |
CB.EVENT |
Event, nach MBM.FlatRead Parameter is the affected key idKey. |
peError |
POINTER TO MBM.ERROR |
Pointer on error ID. |