mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
Let StartService really start the service.
This enables the plug and play manager during second stage setup svn path=/trunk/; revision=22607
This commit is contained in:
parent
2a008d3e8b
commit
4721afc693
2 changed files with 3 additions and 6 deletions
|
@ -714,9 +714,8 @@ ScmStartUserModeService(PSERVICE Service)
|
|||
{
|
||||
DPRINT("Received process id %lu\n", dwProcessId);
|
||||
|
||||
/* FIXME: Send start command */
|
||||
|
||||
Status = STATUS_SUCCESS;
|
||||
/* Send start command */
|
||||
Status = ScmSendStartCommand(Service, NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -731,8 +730,6 @@ ScmStartUserModeService(PSERVICE Service)
|
|||
Status = STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
ScmSendStartCommand(Service, NULL);
|
||||
|
||||
/* Close process and thread handle */
|
||||
CloseHandle(ProcessInformation.hThread);
|
||||
CloseHandle(ProcessInformation.hProcess);
|
||||
|
|
|
@ -1790,7 +1790,7 @@ ScmrStartServiceW(handle_t BindingHandle,
|
|||
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue