SetEntryPtr

Replaces an existing entry by a new one by overwriting the memory address of the existing entry with the memory address of the new entry.
VAR_INPUT
diIndex : DINT;
pEntry : PVOID;
diIndex: Index position of the entry to be replaced.
pEntry: Pointer to the entry to be replaced.
VAR_OUTPUT
SetEntryPtr : BOOL;
SetEntryPtr: Result of the function.