Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit Windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00138616
Message ID:
00139416
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform