Notifing an application about a event from SCSI miniport Driver

hi all,
I am working on a SCSI miniport Driver for windows NT and 2000. I
need a effective way to notify my application about a event that occures in
a driver. Polling a driver using a IOCTL is ofcourse an option but it
becomes hard to get the through put when you do it for multiple events that
happen randomly at different points in time.
Is there some method by which this can be done effectively in NT 4.0 and
Windows 2000.

your help is greatly appriciated.

thanks
ajitabh


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,

Can you create a user mode thread, number of named events that SCSI
miniport (any application actually) will signall and unblock your thread
blocked by WaitForMultipleObjects() inside it?

Anton

On 01/09/02, ““Saxena, Ajitabh Prakash” ” wrote:
> hi all,
> I am working on a SCSI miniport Driver for windows NT and 2000. I
> need a effective way to notify my application about a event that occures in
> a driver. Polling a driver using a IOCTL is ofcourse an option but it
> becomes hard to get the through put when you do it for multiple events that
> happen randomly at different points in time.
> Is there some method by which this can be done effectively in NT 4.0 and
> Windows 2000.
>
>
>
> your help is greatly appriciated.
>
> thanks
> ajitabh
>
> —
> You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I like using the following method most (described many times). User mode app
sends an IOCTL request. You mark it pending and put the request to some
internal list. When something interesting happens you complete the request.
Do not forget to set the cancel routing for the case when your app decides
to quit before getting some event.

Alexey Logachyov
xxxxx@vba.com.by
VirusBlokAda ltd.
http://www.vba.com.by

----- Original Message -----
From: “Saxena, Ajitabh Prakash”
To: “NT Developers Interest List”
Sent: Wednesday, January 09, 2002 10:36 PM
Subject: [ntdev] Notifing an application about a event from SCSI miniport
Driver

> hi all,
> I am working on a SCSI miniport Driver for windows NT and 2000. I
> need a effective way to notify my application about a event that occures
in
> a driver. Polling a driver using a IOCTL is ofcourse an option but it
> becomes hard to get the through put when you do it for multiple events
that
> happen randomly at different points in time.
> Is there some method by which this can be done effectively in NT 4.0 and
> Windows 2000.
>
>
>
> your help is greatly appriciated.
>
> thanks
> ajitabh
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com