Author: sir_richard
Date: Wed Mar 10 19:28:45 2010
New Revision: 46068
URL:
http://svn.reactos.org/svn/reactos?rev=46068&view=rev
Log:
[SCM]: Fix SCM shutdown. Now all services are stopped (in my working copy with the CSRSS
shutdown code).
Modified:
trunk/reactos/base/system/services/services.c
Modified: trunk/reactos/base/system/services/services.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
==============================================================================
--- trunk/reactos/base/system/services/services.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/services.c [iso-8859-1] Wed Mar 10 19:28:45 2010
@@ -279,7 +279,7 @@
{
DPRINT1("ShutdownHandlerRoutine() called\n");
- if (dwCtrlType == CTRL_SHUTDOWN_EVENT)
+ if (dwCtrlType & (CTRL_SHUTDOWN_EVENT | CTRL_LOGOFF_EVENT))
{
DPRINT1("Shutdown event received!\n");
ScmShutdown = TRUE;