https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6c9cdd84bb43439dfdad0…
commit 6c9cdd84bb43439dfdad0c7abc804fac7928bcde
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Feb 12 15:50:30 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Feb 12 15:50:30 2018 +0100
[SERVICES] Set a complete service status for running boot start or system start
drivers
---
base/system/services/database.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/base/system/services/database.c b/base/system/services/database.c
index b450fe486d..d31d353a87 100644
--- a/base/system/services/database.c
+++ b/base/system/services/database.c
@@ -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)