Reboot an NT using EWX_FORCE

Part of code for an NT system. I want it to shut down a printer programand then reboot.

This isn't quite working. Do I need to combine it with EWX_REBOOT and if so, how would I do it.

invoke ExitWindowsEx, EWX_FORCE, 0 ; For Reboot, use EWX_REBOOT
invoke ExitProcess,NULL

Thanks.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories