mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +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;
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue