mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[SERVICES] Set a complete service status for running boot start or system start drivers
This commit is contained in:
parent
e917471e04
commit
6c9cdd84bb
1 changed files with 5 additions and 0 deletions
|
@ -1040,6 +1040,11 @@ ScmCheckDriver(PSERVICE Service)
|
|||
|
||||
/* Mark service as 'running' */
|
||||
Service->Status.dwCurrentState = SERVICE_RUNNING;
|
||||
Service->Status.dwControlsAccepted = SERVICE_ACCEPT_STOP;
|
||||
Service->Status.dwWin32ExitCode = ERROR_SUCCESS;
|
||||
Service->Status.dwServiceSpecificExitCode = 0;
|
||||
Service->Status.dwCheckPoint = 0;
|
||||
Service->Status.dwWaitHint = 0;
|
||||
|
||||
/* Mark the service group as 'running' */
|
||||
if (Service->lpGroup != NULL)
|
||||
|
|
Loading…
Reference in a new issue