Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutdown
Message
 
 
To
24/05/2004 13:49:46
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00906616
Message ID:
00906618
Views:
10
This message has been marked as the solution to the initial question of the thread.
See HOWTO: Exit Windows from Visual FoxPro mskb #251310 and How can I shut down or reboot Windows for all versions? FAQ #8009.

>HI, I want to shutdown my pc fromVFP, the pc have windows XP
>
>I execute this code, but it only reset the pc
>
>Declare integer ExitWindowsEx IN user32.dll integer uFlags, INTEGER dwReserved
>ldsdd =ExitWindowsEx(0,0)
>
>Thanks !!
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform