COPY_TO_WSTRING (FUN)ΒΆ
FUNCTION COPY_TO_WSTRING : UDINT
Copies an IStringRepresentation into a memory block of a wstring.
Type of the
itfString can be IBuilder, IString or just an IStringRepresentation.- InOut:
Scope
Name
Type
Comment
Return
COPY_TO_WSTRINGUDINTInput
itfStringpwValuePOINTER TO WORD
Encoding UCS-2 Pointer to the first byte of wstring instance, e.g. pbyValue := ADR(myWStringInstance)
udiSizeUDINTSize of the wstring in bytes, e.g. udiSize := SIZEOF(myWStringInstance)
Output
eErrorIDCheck error output value for better diagnostics