From 8b4ff1011999c42e100c0b3f3b859330d0a8f85f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 3 Jan 2005 20:11:23 +0000 Subject: [PATCH] Use ExitProcess to terminate the process in ExitWindowsEx so that it gets a chance to clean things up. --- windows/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/user.c b/windows/user.c index f9cc2e6d8de..e0a70e9759e 100644 --- a/windows/user.c +++ b/windows/user.c @@ -447,7 +447,7 @@ BOOL WINAPI ExitWindowsEx( UINT flags, DWORD reserved ) if (flags & EWX_REBOOT) USER_StartRebootProcess(); - if (result) ExitKernel16(); + if (result) ExitProcess(0); return TRUE; }