Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutting down the computer
Message
From
08/02/1999 13:51:31
 
 
To
08/02/1999 13:46:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00185173
Message ID:
00185187
Views:
20
>SET CLASSLIB TO FOXTOOLS
>getout=regfn("ExitWindowsEx","II","I")
>=CALLFN(getout,EWX_SHUTDOWN,0)
>
>The values for 32 bit windows are:
>#DEFINE EWX_LOGOFF 0
>#DEFINE EWX_SHUTDOWN 1
>#DEFINE EWX_REBOOT 2
>#DEFINE EWX_FORCE 4
>#DEFINE EWX_POWEROFF 8


Do I need foxtools to do this?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform