Author: ion
Date: Thu Aug 29 16:42:14 2013
New Revision: 59871
URL:
http://svn.reactos.org/svn/reactos?rev=59871&view=rev
Log:
[KERNEL32]: Fix a bug in QueryActCtx
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 16:42:14
2013
@@ -336,6 +336,7 @@
BaseSetLastNTError(STATUS_INVALID_PARAMETER_3);
return FALSE;
}
+ break;
default:
@@ -373,7 +374,7 @@
}
/* These 3 flags are mutually exclusive -- only one should be present */
- switch (dwFlags & (QUERY_ACTCTX_FLAG_VALID & ~ QUERY_ACTCTX_FLAG_NO_ADDREF))
+ switch (dwFlags & (QUERY_ACTCTX_FLAG_VALID & ~QUERY_ACTCTX_FLAG_NO_ADDREF))
{
/* Convert into native format */
case QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX:
@@ -401,6 +402,10 @@
}
/* Now call the native API */
+ DPRINT1("SXS: %s() Calling Native API with Native Flags %lx for Win32 Flags
%lx\n",
+ __FUNCTION__,
+ NativeFlags,
+ dwFlags);
Status = RtlQueryInformationActivationContext(NativeFlags,
hActCtx,
pvSubInstance,