>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