IntControl 67

Syntax:

IntControl (67, 0, p2, 0, 0)

 

Reboot system.

p2 Meaning

0 default. Normal shutdown. User is prompted for open files.

1 Force. Forces the reboot of the system by not giving notice to any running applications about the reboot. This doesn't allow the applications to save information or to display shut down messages.

 

Returns 0.

Be very careful using IntControl(67,0,1,0,0). This can cause the loss of data.

Note: This function is not supported when run as a service.