mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 00:50:23 +00:00
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. svn path=/trunk/; revision=38798
This commit is contained in:
parent
9ae3084028
commit
12f2920bba
1 changed files with 7 additions and 1 deletions
|
@ -21,12 +21,18 @@ CsrInit(void)
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
UNICODE_STRING PortName;
|
UNICODE_STRING PortName;
|
||||||
ULONG ConnectInfoLength;
|
ULONG ConnectInfoLength;
|
||||||
|
SECURITY_QUALITY_OF_SERVICE Qos;
|
||||||
|
|
||||||
RtlInitUnicodeString(&PortName, L"\\Windows\\ApiPort");
|
RtlInitUnicodeString(&PortName, L"\\Windows\\ApiPort");
|
||||||
ConnectInfoLength = 0;
|
ConnectInfoLength = 0;
|
||||||
|
Qos.Length = sizeof(Qos);
|
||||||
|
Qos.ImpersonationLevel = SecurityDelegation;
|
||||||
|
Qos.ContextTrackingMode = SECURITY_STATIC_TRACKING;
|
||||||
|
Qos.EffectiveOnly = FALSE;
|
||||||
|
|
||||||
Status = ZwConnectPort(&WindowsApiPort,
|
Status = ZwConnectPort(&WindowsApiPort,
|
||||||
&PortName,
|
&PortName,
|
||||||
NULL,
|
&Qos,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in a new issue