Platform Package reference: Function EwInitRuntimeEnvironment()
Description of the function EwInitRuntimeEnvironment() 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
int EwInitRuntimeEnvironment( void* aArgs )
Parameters
aArgs
Optional argument to pass to the init function of the underlying platform specific adaptation layer. Actually the parameter is not used and should be NULL.
Discussion
The function EwInitRuntimeEnvironment() initializes the Runtime Environment. The function is intended to be called at the startup time during the Initialization of the GUI Application. If successful, the function returns a value != 0 (zero).
The usage of this function is optional only in case of needing to restart an already running system. In such case invoke EwInitRuntimeEnvironment() after invoking EwInitHeap() and before invoking EwInitInvocations() and EwInitGraphicsEngine().