CreateStringPool (FUN)ΒΆ

FUNCTION CreateStringPool : IStringPool

Creates a pool for IString instances in the specified memory space
The size of the strings is specified via udiStringSize
InOut:

Scope

Name

Type

Initial

Comment

Return

CreateStringPool

IStringPool

Input

udiStringSize

UDINT

pbyPool

POINTER TO BYTE

Pointer to the first byte of the memory.
This address should aligned to a __XWORD boundary!

udiPoolSize

UDINT

Size of the allocated memory for the range.
This size must not be smaller than SIZEOF(_StringPool), because it includes an instance of _StringPool(FB)

usiExtensionFactor

USINT

0

Optional extension factor of the IStringPool instance

Output

eErrorID

ERROR