Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reboot the System Thru WinApi
Message
From
05/06/1998 15:25:45
 
 
To
04/06/1998 13:38:19
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00104840
Message ID:
00105329
Views:
27
The ExitWindowsEx function either logs off, shuts down, or shuts down and restarts the system. BOOL ExitWindowsEx(UINT uFlags, DWORD dwReserved); uFlags specifies the type of shutdown. EWX_SHUTDOWN = 1 Shuts down the system to a point at which it is safe to turn off the power. All file buffers have been flushed to disk, and all running processes have stopped. EWX_REBOOT = 2 Shuts down the system and then restarts the system. EWX_FORCE = 4 Forces processes to terminate. Windows does not send the messages WM_QUERYENDSESSION and WM_ENDSESSION to the applications currently running. Therefore, you should only use this flag in an emergency.
Previous
Reply
Map
View

Click here to load this message in the networking platform