AddEntryPtr

Creates a new entry at the end of the array and copies its memory address (i.e. the address to which the pointer pEntry points) to the internal memory.
VAR_INPUT
pEntry : PVOID;
pEntry: Pointer to the entry to be added.
VAR_OUTPUT
AddEntryPtr : BOOL;
diResultIndex : DINT;
AddEntryPtr: Result of the function.
diResultIndex: Index position of the entry added.