Author: fireball
Date: Mon May 12 08:42:05 2008
New Revision: 33470
URL:
http://svn.reactos.org/svn/reactos?rev=33470&view=rev
Log:
- Make IoCreateNotificationEvent and IoCreateSynchronizationEvent create kernel handles
(according to MSDN
http://msdn.microsoft.com/en-us/library/aa490498.aspx). Spotted by
Stefan Ginsberg.
Modified:
trunk/reactos/ntoskrnl/io/iomgr/ioevent.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/ioevent.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/ioevent.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/ioevent.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/ioevent.c [iso-8859-1] Mon May 12 08:42:05 2008
@@ -29,7 +29,7 @@
/* Initialize the object attributes */
InitializeObjectAttributes(&ObjectAttributes,
EventName,
- OBJ_OPENIF,
+ OBJ_OPENIF | OBJ_KERNEL_HANDLE,
NULL,
NULL);