Author: jgardou
Date: Fri Sep 19 18:21:06 2014
New Revision: 64197
URL:
http://svn.reactos.org/svn/reactos?rev=64197&view=rev
Log:
[WIN32K]
- Allocate the the queue client event as a KERNEL_HANDLE
CORE-8539
Modified:
trunk/reactos/win32ss/user/ntuser/main.c
Modified: trunk/reactos/win32ss/user/ntuser/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/main.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/main.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/main.c [iso-8859-1] Fri Sep 19 18:21:06 2014
@@ -266,6 +266,7 @@
NTSTATUS Status = STATUS_SUCCESS;
PTEB pTeb;
LARGE_INTEGER LargeTickCount;
+ OBJECT_ATTRIBUTES EventQueueObjAttr;
Process = Thread->ThreadsProcess;
@@ -313,6 +314,7 @@
ptiCurrent->ppi->cThreads++;
ptiCurrent->hEventQueueClient = NULL;
+ InitializeObjectAttributes(&EventQueueObjAttr, NULL, OBJ_KERNEL_HANDLE, NULL,
NULL);
Status = ZwCreateEvent(&ptiCurrent->hEventQueueClient, EVENT_ALL_ACCESS,
NULL, SynchronizationEvent, FALSE);
if (!NT_SUCCESS(Status))