Event Notification

hello,

how can i create notification event(named notification event)in driver so
that i can open the event using the event name in the user application and
furthur do some operations. NTDDK has IoCreateNotificationEvent(…)
routine for windows 2000 drivers. But i want it for Windows 98/SE or ME.

Thanx in Advance.

Regards,
Madhu.

Hi Madhu,

It is not possible to share normally in the 98. But there are different ways to do that like DeviceIOControl and all.

I believe it gives u proper hints.

Good Luck,



From: “madhu”

>Reply-To: “Windows System Software Devs Interest List”
>To: “Windows System Software Devs Interest List”
>Subject: [ntdev] Event Notification
>Date: Mon, 3 Nov 2003 06:37:36 -0500
>
>hello,
>
>how can i create notification event(named notification event)in driver so
>that i can open the event using the event name in the user application and
>furthur do some operations. NTDDK has IoCreateNotificationEvent(…)
>routine for windows 2000 drivers. But i want it for Windows 98/SE or ME.
>
>
>Thanx in Advance.
>
>Regards,
>Madhu.
>
>—
>Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Get head-hunted by 10,000 recruiters. Post your CV on naukri.com today.

madhu wrote:

how can i create notification event(named notification event)in driver so
that i can open the event using the event name in the user application and
furthur do some operations. NTDDK has IoCreateNotificationEvent(…)
routine for windows 2000 drivers. But i want it for Windows 98/SE or ME.

There is not platform-portable way to do this. I just create the event
in user mode and send the handle to my driver in an IOCTL. The driver
then does an ObReferenceObjectByHandle. A fully worked out sample –
EVWAIT – is in my WDM book.


Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com

AIR, Walter’s method that re recounts below is the recommended means of
doing it in NT4 and above as well.


Gary G. Little
Seagate Technologies, LLC

“Walter Oney” wrote in message news:xxxxx@ntdev…
>
> madhu wrote:
> > how can i create notification event(named notification event)in driver
so
> > that i can open the event using the event name in the user application
and
> > furthur do some operations. NTDDK has IoCreateNotificationEvent(…)
> > routine for windows 2000 drivers. But i want it for Windows 98/SE or ME.
>
> There is not platform-portable way to do this. I just create the event
> in user mode and send the handle to my driver in an IOCTL. The driver
> then does an ObReferenceObjectByHandle. A fully worked out sample –
> EVWAIT – is in my WDM book.
>
> –
> Walter Oney, Consulting and Training
> Basic and Advanced Driver Programming Seminars
> Check out our schedule at http://www.oneysoft.com
>
>