mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user