mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +00:00
- REnumServicesStatusExW: Correct check for returning ERROR_SERVICE_DOES_NOT_EXIST.
- fixes bug #3787 svn path=/trunk/; revision=36750
This commit is contained in:
parent
ed58e3df34
commit
d9a416da9f
1 changed files with 1 additions and 1 deletions
|
@ -4995,7 +4995,7 @@ DWORD REnumServicesStatusExW(
|
|||
*pcbBytesNeeded = dwRequiredSize;
|
||||
|
||||
/* If there was no services that matched */
|
||||
if (!dwServiceCount)
|
||||
if ((!dwServiceCount) && (dwError != ERROR_MORE_DATA))
|
||||
{
|
||||
dwError = ERROR_SERVICE_DOES_NOT_EXIST;
|
||||
goto Done;
|
||||
|
|
Loading…
Reference in a new issue