|
||
BOOLEAN engine_initialize( EngineInitStruct *eis )
EngineInitStruct *eis; // A pointer to an EngineInitStruct
|
|
|||
Synopsis |
#include "silvere.h"
The engine_initialize function prepares SilverEngine for use by an application.
|
|
||
Parameters |
eis is a SilverEngine initialization structure that has been filled in.
|
|
||
Return Value |
engine_initialize returns TRUE if is was successful, and FALSE otherwise.
|
|
||
Remarks |
If SilverEngine cannot initialize, then SilverEngine applications should quit.
In order for the SilverEngine development platform to initialize, it must have access to an environment file.
engine_initialize should be called before any other SilverEngine or SilverScreen API function. The typical place to call it from MFC applications is InitInstance().
|
|
||
See Also |
engine_quit, engine_set_frame_window
|
|
||
Example |
For a complete example, see the SilverEngine, EngineShell sample program. The following code shows a typical initialization of SilverEngine from the standard startup environment file:
|
|