>Here's the answer:
>
>DECLARE INTEGER ExitWindowsEx IN Win32API INTEGER nFlags, INTEGER Reserved
>DECLARE INTEGER ExitProcess IN Win32API INTEGER nExitCode
>
>CLOSE ALL
>FLUSH
>
>=ExitWindowsEx(4,0)
>=ExitProcess(0)
On XP, that just logged me off. Sergey's reference to the KB article was better (and no, I
didn't write it :-) ).