Author: arty
Date: Fri Jan 16 15:03:10 2009
New Revision: 38798
URL:
http://svn.reactos.org/svn/reactos?rev=38798&view=rev
Log:
This actually used to work due to the work csrss does setting up low memory
space. This fixes it to pass a QOS parameter as it isn't optional.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/csr.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/csr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/csr.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/csr.c [iso-8859-1] Fri Jan 16 15:03:10
2009
@@ -21,12 +21,18 @@
NTSTATUS Status;
UNICODE_STRING PortName;
ULONG ConnectInfoLength;
+ SECURITY_QUALITY_OF_SERVICE Qos;
RtlInitUnicodeString(&PortName, L"\\Windows\\ApiPort");
ConnectInfoLength = 0;
+ Qos.Length = sizeof(Qos);
+ Qos.ImpersonationLevel = SecurityDelegation;
+ Qos.ContextTrackingMode = SECURITY_STATIC_TRACKING;
+ Qos.EffectiveOnly = FALSE;
+
Status = ZwConnectPort(&WindowsApiPort,
&PortName,
- NULL,
+ &Qos,
NULL,
NULL,
NULL,