mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:55:41 +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);
|
DPRINT("Received process id %lu\n", dwProcessId);
|
||||||
|
|
||||||
/* FIXME: Send start command */
|
/* Send start command */
|
||||||
|
Status = ScmSendStartCommand(Service, NULL);
|
||||||
Status = STATUS_SUCCESS;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -731,8 +730,6 @@ ScmStartUserModeService(PSERVICE Service)
|
||||||
Status = STATUS_UNSUCCESSFUL;
|
Status = STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScmSendStartCommand(Service, NULL);
|
|
||||||
|
|
||||||
/* Close process and thread handle */
|
/* Close process and thread handle */
|
||||||
CloseHandle(ProcessInformation.hThread);
|
CloseHandle(ProcessInformation.hThread);
|
||||||
CloseHandle(ProcessInformation.hProcess);
|
CloseHandle(ProcessInformation.hProcess);
|
||||||
|
|
|
@ -1790,7 +1790,7 @@ ScmrStartServiceW(handle_t BindingHandle,
|
||||||
return ERROR_SERVICE_MARKED_FOR_DELETE;
|
return ERROR_SERVICE_MARKED_FOR_DELETE;
|
||||||
|
|
||||||
/* Start the service */
|
/* Start the service */
|
||||||
Status = STATUS_SUCCESS; /* FIXME: ScmStartService(lpService); */
|
Status = ScmStartService(lpService);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
return RtlNtStatusToDosError(Status);
|
return RtlNtStatusToDosError(Status);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue