Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit Windows
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00138616
Message ID:
00139416
Views:
20
>hello,
> I found a statement to exit windows.
> getout=regfn("ExitWindowsEx","II","I")
> =CALLFN(getout,1,0)
>what is meant by 1 in the 2nd parameter of callfn()??
>how could i know the value for every variable even other api
Hi John,

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
If you're using VFP under Win 95 or above, you can use the DECLARE - DLL syntax.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform