ExitWindows

Exits the Windows operating system in a specified manner.

Function Group Execution Windows Embedded Thin Client
ExitWindows Module Activity Asynchronous Supported Not supported Supported

Syntax

ExitWindows(numExitCode)
numExitCode
A numeric code specifying how Windows should be exited:
Value Description
0 Restart
1 Log off
2 Shut down

Returned value

No returned values.

Examples

Tag Name Expression
  ExitWindows( 1 )