Author: cwittich
Date: Sat Feb 7 03:11:31 2009
New Revision: 39451
URL:
http://svn.reactos.org/svn/reactos?rev=39451&view=rev
Log:
fix ScmRpcStatusToWinError handling
Modified:
trunk/reactos/dll/win32/advapi32/service/scm.c
Modified: trunk/reactos/dll/win32/advapi32/service/scm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/scm.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/scm.c [iso-8859-1] Sat Feb 7 03:11:31 2009
@@ -195,12 +195,11 @@
case RPC_X_SS_IN_NULL_CONTEXT:
return ERROR_INVALID_HANDLE;
- case RPC_X_NULL_REF_POINTER:
case RPC_X_ENUM_VALUE_OUT_OF_RANGE:
case RPC_X_BYTE_COUNT_TOO_SMALL:
return ERROR_INVALID_PARAMETER;
- case STATUS_ACCESS_VIOLATION:
+ case RPC_X_NULL_REF_POINTER:
return ERROR_INVALID_ADDRESS;
default: