Gets the start up state of WinGP.
Function Name
INT32 GetRuntimeStartState (
INT32 l_RuntimeHandle ,
INT32 *pl_RuntimeCondition );
Argument
l_RuntimeHandle: (i) WinGP handle from which it gets the information
*pl_RuntimeCondition: (o) WinGP state
0: STARTING
1: START_ONLINE (Online)
2: START_OFFLINE (Offline mode)
3: START_TRANSFER (Transfer mode)
4: ENDING
5: NOTEXECUTE (Not running)
Return value (NULL)
Status
0: Completed
-1: Parameter error
-2: Timeout
1: State WinGP does not accept (ending, etc.)