Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reboot the System Thru WinApi
Message
De
05/06/1998 15:25:45
 
 
À
04/06/1998 13:38:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00104840
Message ID:
00105329
Vues:
28
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform