Author: ekohl
Date: Sun Nov 27 10:55:45 2011
New Revision: 54506
URL:
http://svn.reactos.org/svn/reactos?rev=54506&view=rev
Log:
[TCPVCS]
- Report service status upon an interrogate request.
- Set the wait hint to a non-zero value.
Modified:
trunk/reactos/base/services/tcpsvcs/tcpsvcs.c
Modified: trunk/reactos/base/services/tcpsvcs/tcpsvcs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/tcps…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/tcpsvcs.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/tcpsvcs.c [iso-8859-1] Sun Nov 27 10:55:45 2011
@@ -135,7 +135,7 @@
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 = 5000;
UpdateStatus(pServInfo, SERVICE_STOP_PENDING, 1);
break;
@@ -152,6 +152,7 @@
break;
case SERVICE_CONTROL_INTERROGATE:
+ SetServiceStatus(pServInfo->hStatus, &pServInfo->servStatus);
break;
default: