engine_status (long code)
SDK function; returns the current run status of the engine. The code parameter must be 0.
0 - engine is closed. No variables or engine functions can be accessed.
1 - engine was opened, but not yet initialized.
3 - variables and engine functions except video functions are now available.
5 - the video device was initialized, video functions are available.