Requests WinGP to end.
Function Name
INT32 StopRuntime(
INT32 l_RuntimeHandle,
INT32 l_StopMode );
Argument
l_RuntimeHandle: (i) WinGP handle for operation
l_StopMode: (i) End mode
0: Normal end
1: End confirmation dialog box enabled
Return value (NULL)
Status
0: Completed
-1: Parameter error
-2: Timeout
1: State that WinGP cannot accept (such as exit)