Platform Package reference: Function EwGetStringLength()

Description of the function EwGetStringLength() available in all Platform Packages for C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.

Declaration

XInt32 EwGetStringLength( XString aString )

Parameters

aString

Pointer to the wide-character (16-bit per character) string to determinate its length (the number of enclosed characters).

Discussion

The function EwGetStringLength() returns the length of the string aString expressed in characters. If the string is empty, the function returns 0 (zero).