I've found the answer:

ExitWindowsEx cannot shutdown a Windows NT or 2000 system.

In order to do so, the SE_SHUTDOWN_NAME priviledge must be set.

More info: http://support.microsoft.com/support.../Q176/6/95.ASP


ben