*SERVICE (GETMODE)
9.5B
*SERVICE={value}
The *SERVICE control reports whether a runtime or client module is executing as a Windows service process.
{value} is a previously defined Numeric Variable that receives the service state. The value returned is one of the following:
|
Value |
Meaning ... |
|
0 |
The runtime or client is not executing as a Windows service. |
|
1 |
A runtime is executing as a Windows service |
|
2 |
A client is executing as a Windows service. |
|
10 |
A runtime was started from another runtime that was executing as a Windows service. |
|
20 |
A client was started from a runtime that was executing as a Windows service. |
See Also: List Controls (GETMODE), GETMODE
![]() |