An ExitWindowsEX & NT4.0 Issue


I need to have a program complete shutdown NT 4.0 (gracefully) to the Safe
to RESTART system dialog.

Now, I have already tried:


and all the other commands in the help file (e.g. EWX_FORCE, EWX_REBOOT,
et cetera).

All this does is logoff the current user (in this case Administrator).  I
need my program to shut things down to the safe to restart dialog.

Any ideas?

Kind Regards,

Bernie Wilt