EWX_FORCE is intended to be used combined with one of other actions in the list. IE, if you want to force a reboot, use 2+4, so 6.
Vlad
>
>#DEFINE EWX_LOGOFF 0
>#DEFINE EWX_SHUTDOWN 1
>#DEFINE EWX_REBOOT 2
>#DEFINE EWX_FORCE 4
>#DEFINE EWX_POWEROFF 8
>
>
>Of the above, tests indicated the following on a Novell network: Both EWX_LOGOFF and EWX_FORCE produced the same result. Windows reported that a network application (VFP) was not responding, treated it as an error, and restarted Windows.
>
>Both EWX_SHUTDOWN and EWX_REBOOT seemed to work as intended. However, it should be noted that neither called the standard Windows 95 shutdown dialog.
>
>hth,
>
>George