Ge van Geldorp wrote: >I want to implement proper logoff/shutdown/restart, i.e ExitWindowsEx() >but I'm not sure exactly how it's supposed to work. > [snip] I just wanted to note this process is described in "Inside Windows 2000", chapter 4.4. Regards, Filip