projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02a1138
)
[TCPVCS]
author
Eric Kohl
<eric.kohl@reactos.org>
Sun, 27 Nov 2011 10:55:45 +0000
(10:55 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sun, 27 Nov 2011 10:55:45 +0000
(10:55 +0000)
- Report service status upon an interrogate request.
- Set the wait hint to a non-zero value.
svn path=/trunk/; revision=54506
reactos/base/services/tcpsvcs/tcpsvcs.c
patch
|
blob
|
history
diff --git
a/reactos/base/services/tcpsvcs/tcpsvcs.c
b/reactos/base/services/tcpsvcs/tcpsvcs.c
index
f91e88b
..
6730eab
100644
(file)
--- a/
reactos/base/services/tcpsvcs/tcpsvcs.c
+++ b/
reactos/base/services/tcpsvcs/tcpsvcs.c
@@
-135,7
+135,7
@@
ServerCtrlHandler(DWORD dwControl,
LogEvent(L"\nSetting the service to SERVICE_STOP_PENDING", 0, 0, LOG_FILE);
InterlockedExchange((LONG *)&bShutdown, TRUE);
pServInfo->servStatus.dwWin32ExitCode = 0;
- pServInfo->servStatus.dwWaitHint = 0;
+ pServInfo->servStatus.dwWaitHint =
500
0;
UpdateStatus(pServInfo, SERVICE_STOP_PENDING, 1);
break;
@@
-152,6
+152,7
@@
ServerCtrlHandler(DWORD dwControl,
break;
case SERVICE_CONTROL_INTERROGATE:
+ SetServiceStatus(pServInfo->hStatus, &pServInfo->servStatus);
break;
default: