Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutdown Windows from vfp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00257880
Message ID:
00257927
Vues:
17
So The command should be the following ?

=ExitWindowsEx(EWX_POWEROFF + EWX_FORCE, 0)
---OR---
=ExitWindowsEx(12, 0)

It Does'nt work for me, It only logs off my morkstation.

Any idea ?

>
>You need both the EWX_FORCE and EWX_SHUTDOWN values (EWX_SHUTDOWN + EWX_FORCE), and you must have ACPI/APM enabled on the station if you want it to actually power off the system and then use EWX_POWEROFF + EWX_FORCE.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform