Author: ion
Date: Thu Aug 29 20:14:43 2013
New Revision: 59880
URL: http://svn.reactos.org/svn/reactos?rev=59880&view=rev
Log:
[KERNEL32]: Passing flag 0 to QueryActCtx is valid, don't fail.
Modified:
trunk/reactos/dll/win32/kernel32/client/actctx.c
Modified: trunk/reactos/dll/win32/kernel32/client/actctx.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/actctx.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/actctx.c [iso-8859-1] Thu Aug 29 20:14:43 2013
@@ -385,6 +385,8 @@
break;
case QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS:
NativeFlags = RTL_QUERY_ACTIVATION_CONTEXT_FLAG_IS_ADDRESS;
+ break;
+ case 0:
break;
/* More than one flag is set... */
Author: ion
Date: Thu Aug 29 17:44:34 2013
New Revision: 59874
URL: http://svn.reactos.org/svn/reactos?rev=59874&view=rev
Log:
fix a dprint
Modified:
trunk/reactos/dll/win32/kernel32/client/actctx.c
Modified: trunk/reactos/dll/win32/kernel32/client/actctx.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/actctx.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/actctx.c [iso-8859-1] Thu Aug 29 17:44:34 2013
@@ -390,7 +390,9 @@
/* More than one flag is set... */
default:
/* Bail out */
- DPRINT1("SXS: %s(dwFlags=0x%lx) more than one flag in 0x%lx was passed\n", 0x1C);
+ DPRINT1("SXS: %s(dwFlags=0x%lx) more than one flag in 0x%lx was passed\n",
+ __FUNCTION__,
+ 0x1C);
BaseSetLastNTError(STATUS_INVALID_PARAMETER_1);
return FALSE;
}