Author: ekohl
Date: Fri Dec 25 17:41:06 2009
New Revision: 44760
URL:
http://svn.reactos.org/svn/reactos?rev=44760&view=rev
Log:
The service thread must receive all commands.
Modified:
trunk/reactos/dll/win32/advapi32/service/sctrl.c
Modified: trunk/reactos/dll/win32/advapi32/service/sctrl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/sctrl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/sctrl.c [iso-8859-1] Fri Dec 25 17:41:06
2009
@@ -395,7 +395,8 @@
break;
default:
- TRACE("Unknown command %lu", ControlPacket->dwControl);
+ TRACE("Command %lu received", ControlPacket->dwControl);
+ ScControlService(ControlPacket);
continue;
}
@@ -519,7 +520,7 @@
Service->HandlerFunctionEx = lpHandlerProc;
Service->HandlerContext = lpContext;
- TRACE("RegisterServiceCtrlHandlerEx returning %lu", Service->hService);
+ TRACE("RegisterServiceCtrlHandlerEx returning %lu\n",
Service->hService);
return (SERVICE_STATUS_HANDLE)Service->hService;
}