Author: cwittich
Date: Sun Sep 11 13:22:33 2016
New Revision: 72654
URL:
http://svn.reactos.org/svn/reactos?rev=72654&view=rev
Log:
[KERNEL32] set ExitCode when terminating threads in ExitProcess as well
Modified:
trunk/reactos/dll/win32/kernel32/client/proc.c
Modified: trunk/reactos/dll/win32/kernel32/client/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] Sun Sep 11 13:22:33 2016
@@ -1542,7 +1542,7 @@
RtlAcquirePebLock();
/* Kill all the threads */
- NtTerminateProcess(NULL, 0);
+ NtTerminateProcess(NULL, uExitCode);
/* Unload all DLLs */
LdrShutdownProcess();