mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 05:51:26 +08:00
[SERVICES] Set a complete service status for running boot start or system start drivers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user