Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExitWindowsEx always reboot but not off!
Message
 
 
To
05/02/1999 20:34:45
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00184610
Message ID:
00184630
Views:
19
Justok,

The PC/BIOS has to support power management and have a "soft" power switch for the machine to actually turn off.

>I ve read the Knowledge Base Section on Win32API,
>
>Then, I try to use ExitWindowsEx(66, 0) to off the computer!
>but neither VB4 nor VFP5 still reboot the PC !
>
>Of cos, ExitWindowsEx(67, 0) is successful on Reboot!!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform