how to program a routine shutting down the system in winxp

I need to know the usesage of AdjustPrivilegeToken
Posted on 2002-06-25 22:28:16 by jerrygao2001
ExitWindowsEx(EWX_SHUTDOWN, 0) does not work?
Posted on 2002-06-25 22:36:06 by comrade
yes, you should get privilige of SE_SHUTDOWN_NAME
Posted on 2002-06-25 23:25:27 by jerrygao2001

this program will do just what you are looking for. Masm source is included.

Good day
Posted on 2002-06-26 16:07:59 by Betrayed

you should take a look at this program.

It is coded by Vom-Bonjour:-(), and does exactly what you are looking for. :)

Greets YaWNS aka Stefan K.
Posted on 2002-06-27 16:00:57 by YaWNS
Hi !

shutdown.exe is shipped with OS...;)

Posted on 2002-06-28 03:25:54 by primozz