From fcae11297635da96ed3a84e6cd6bff8f3a54de26 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Mon, 12 May 2008 13:42:05 +0000 Subject: [PATCH] - Make IoCreateNotificationEvent and IoCreateSynchronizationEvent create kernel handles (according to MSDN http://msdn.microsoft.com/en-us/library/aa490498.aspx). Spotted by Stefan Ginsberg. svn path=/trunk/; revision=33470 --- reactos/ntoskrnl/io/iomgr/ioevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/iomgr/ioevent.c b/reactos/ntoskrnl/io/iomgr/ioevent.c index e3fb3411db0..c3e6ff3f660 100644 --- a/reactos/ntoskrnl/io/iomgr/ioevent.c +++ b/reactos/ntoskrnl/io/iomgr/ioevent.c @@ -29,7 +29,7 @@ IopCreateEvent(IN PUNICODE_STRING EventName, /* Initialize the object attributes */ InitializeObjectAttributes(&ObjectAttributes, EventName, - OBJ_OPENIF, + OBJ_OPENIF | OBJ_KERNEL_HANDLE, NULL, NULL);