Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with ExitWindowsEx
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Help with ExitWindowsEx
Miscellaneous
Thread ID:
00548358
Message ID:
00548358
Views:
59
Anyone know where I should even start to look? I can't get this to work from VFP6 or VFP7 using Win2000 SP1:
#DEFINE EWX_LOGOFF 0
#DEFINE EWX_SHUTDOWN 1
#DEFINE EWX_REBOOT 2
#DEFINE EWX_FORCE 4
#DEFINE EWX_POWEROFF 8

DECLARE SHORT ExitWindowsEx IN Win32API ;
    SHORT uFlags, INTEGER dwReserved

=ExitWindowsEx(0,0)
Nothing happens at all. Thanks for any guidance,
John
Next
Reply
Map
View

Click here to load this message in the networking platform