Author: hpoussin
Date: Sun Jun 25 04:52:40 2006
New Revision: 22607
URL:
http://svn.reactos.org/svn/reactos?rev=22607&view=rev
Log:
Let StartService really start the service.
This enables the plug and play manager during second stage setup
Modified:
trunk/reactos/base/system/services/database.c
trunk/reactos/base/system/services/rpcserver.c
Modified: trunk/reactos/base/system/services/database.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/datab…
==============================================================================
--- trunk/reactos/base/system/services/database.c (original)
+++ trunk/reactos/base/system/services/database.c Sun Jun 25 04:52:40 2006
@@ -714,9 +714,8 @@
{
DPRINT("Received process id %lu\n", dwProcessId);
- /* FIXME: Send start command */
-
- Status = STATUS_SUCCESS;
+ /* Send start command */
+ Status = ScmSendStartCommand(Service, NULL);
}
}
else
@@ -730,8 +729,6 @@
Service->ThreadId = 0;
Status = STATUS_UNSUCCESSFUL;
}
-
- ScmSendStartCommand(Service, NULL);
/* Close process and thread handle */
CloseHandle(ProcessInformation.hThread);
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c (original)
+++ trunk/reactos/base/system/services/rpcserver.c Sun Jun 25 04:52:40 2006
@@ -1790,7 +1790,7 @@
return ERROR_SERVICE_MARKED_FOR_DELETE;
/* Start the service */
- Status = STATUS_SUCCESS; /* FIXME: ScmStartService(lpService); */
+ Status = ScmStartService(lpService);
if (!NT_SUCCESS(Status))
return RtlNtStatusToDosError(Status);