Cicode Programming Reference > Cicode Function Categories > Miscellaneous Functions Introduction > ShutdownForm

ShutdownForm

Displays a dialog box to verify that the user really wants to shut down the CitectSCADA system. If the user selects [Yes], CitectSCADA is shut down.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

ShutdownForm()

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

Shutdown

Example

System Keyboard

Key Sequence

Shutdown

Command

ShutdownForm();

Comment

Display the shutdown form

Buttons

Text

Shutdown

Command

ShutdownForm();

Comment

Display the shutdown form

See Also

Miscellaneous Functions