Author: mjmartin
Date: Tue Oct 14 10:59:09 2008
New Revision: 36750
URL:
http://svn.reactos.org/svn/reactos?rev=36750&view=rev
Log:
- REnumServicesStatusExW: Correct check for returning ERROR_SERVICE_DOES_NOT_EXIST.
- fixes bug #3787
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] Tue Oct 14 10:59:09 2008
@@ -4995,7 +4995,7 @@
*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;