Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable Alt_Ctrl_Del in Windows ?
Message
De
31/01/1999 21:24:15
 
 
À
31/01/1999 21:18:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00182148
Message ID:
00182343
Vues:
17
>Evan,
> Do you have any resource about how to shutdown the windows by VFP or VB?
>

Use ExitWindowsEx() in the Win32 API.

DECLARE ExitWindowsEx IN WIN32API INTEGER uFlags, INTEGER dwReserved
=ExitWindowsEx(nShutDownMode,0)

* 0 = Login new user, 1 = Shutdown, 2 = Restart
* Under NT user must have adequate privileges
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform