Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement