projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e917471
)
[SERVICES] Set a complete service status for running boot start or system start drivers
author
Eric Kohl
<eric.kohl@reactos.org>
Mon, 12 Feb 2018 14:50:30 +0000
(15:50 +0100)
committer
Eric Kohl
<eric.kohl@reactos.org>
Mon, 12 Feb 2018 14:50:30 +0000
(15:50 +0100)
base/system/services/database.c
patch
|
blob
|
history
diff --git
a/base/system/services/database.c
b/base/system/services/database.c
index
b450fe4
..
d31d353
100644
(file)
--- 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)