General information
Category:
Windows API functions
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.)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only