Named notification events in Windows 2000 drivers (using KEvent)



Running a driver  under Windows 2000 the named notification events fail to register and get called when using a new KEvent.


The underlying DDK call that KEvent wraps is IoCreateNotificationEvent. You can view the documentation for this online at:

Essentially, the problem is that in Windows 2000 drivers loaded at boot cannot create event objects in DriverEntry routines that are visible to user mode programs because the \\BasedNamedObjects object directory is not created until the Win32® system initializes. It is also suggested in the IoCreateNotificationEvent that the preferred method to share event objects between user mode and kernel mode is for the user-mode program to create the event object and pass it to the driver through an IOCTL

Old KB# 11683
Comment List
Related Discussions