mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
- 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:
parent
2536c374eb
commit
4d542fdfab
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue