Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable Alt_Ctrl_Del in Windows ?
Message
From
31/01/1999 21:24:15
 
 
To
31/01/1999 21:18:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00182148
Message ID:
00182343
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform