Use ExitProcess to terminate the process in ExitWindowsEx so that it

gets a chance to clean things up.
This commit is contained in:
Alexandre Julliard 2005-01-03 20:11:23 +00:00
parent 8d830b6246
commit 8b4ff10119
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}