mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
[WIN32K]
- Allocate the the queue client event as a KERNEL_HANDLE CORE-8539 svn path=/trunk/; revision=64197
This commit is contained in:
parent
7c7ba13eb7
commit
d07a879127
|
@ -266,6 +266,7 @@ UserCreateThreadInfo(struct _ETHREAD *Thread)
|
|||
NTSTATUS Status = STATUS_SUCCESS;
|
||||
PTEB pTeb;
|
||||
LARGE_INTEGER LargeTickCount;
|
||||
OBJECT_ATTRIBUTES EventQueueObjAttr;
|
||||
|
||||
Process = Thread->ThreadsProcess;
|
||||
|
||||
|
@ -313,6 +314,7 @@ UserCreateThreadInfo(struct _ETHREAD *Thread)
|
|||
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))
|
||||
|
|
Loading…
Reference in a new issue