- 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.

svn path=/trunk/; revision=37246
This commit is contained in:
Michael Martin 2008-11-07 19:10:39 +00:00
parent 2536c374eb
commit 4d542fdfab

View file

@ -1041,8 +1041,7 @@ DWORD RSetServiceStatus(
}
/* Check accepted controls */
if (lpServiceStatus->dwControlsAccepted == 0 ||
lpServiceStatus->dwControlsAccepted & ~0xFF)
if (lpServiceStatus->dwControlsAccepted & ~0xFF)
{
DPRINT1("Invalid controls accepted!\n");
return ERROR_INVALID_DATA;