SysShutdownSystem (Windows only)

>>-SysShutdownSystem(------------------------------------------->

>--+------------------------------------------------------+-)--><
   *-computer-+-------------------------------------------+
              +-,message-+--------------------------------+
                         +-,timeout-+---------------------+
                                    +-,appclose-+---------+
                                                +-,reboot-+

Shuts down the system.

Parameters:

computer

Name of the remote machine. "" = local.

message

message for dialog.

timeout

Time to display message.

appclose

No dialog "save unsaved data".

reboot

1 to reboot the system.

Returns:

Returns 0 for success or a Windows System Error code for failure.