Platform Package reference: Function EwGetLanguage()

Description of the function EwGetLanguage() 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

XLangId EwGetLanguage( void )

Discussion

The function EwGetLanguage() returns the language identification corresponding to the currently selected language. The function returns 0 (zero) if the Default language is selected. The returned value corresponds to the value of the Chora built-in variable language.