- 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
This commit is contained in:
Aleksey Bragin 2008-05-12 13:42:05 +00:00
parent d600586fdd
commit fcae112976

View file

@ -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);