Author: mjmartin
Date: Fri Nov 7 13:10:39 2008
New Revision: 37246
URL:
http://svn.reactos.org/svn/reactos?rev=37246&view=rev
Log:
- RSetServiceStatus: Don't return ERROR_INVALID_DATA when dwControlsAccepted = 0.
Services can and will do this, for example when dwCurrentState is SERVICE_START_PENDING.
See bug #3817 for more info.
Modified:
trunk/reactos/base/system/services/rpcserver.c
Modified: trunk/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Fri Nov 7 13:10:39 2008
@@ -1041,8 +1041,7 @@
}
/* Check accepted controls */
- if (lpServiceStatus->dwControlsAccepted == 0 ||
- lpServiceStatus->dwControlsAccepted & ~0xFF)
+ if (lpServiceStatus->dwControlsAccepted & ~0xFF)
{
DPRINT1("Invalid controls accepted!\n");
return ERROR_INVALID_DATA;