Re: How to get the indication in protocol driver? by Ivan
Ivan
Tue Sep 07 01:37:31 CDT 2004
Oh, It's so bad!
Then, I use KeSetEvent() to notify UI an indication and it works.
Ivan
"Alireza Dabagh [MS]" <alid@online.microsoft.com> ¦b¶l¥ó
news:%23JZzLCgkEHA.3428@TK2MSFTNGP14.phx.gbl ¤¤¼¶¼g...
> Unfortunately there is no straight solution for your problem. Have you
> investigated using WMI events for notification mechanism? or pending read
> IRPs that will be completed by your protocols when it has something to
> indicate?
>
> -ali
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Ivan" <greativan_77@hotmail.com> wrote in message
> news:%233zgjFWkEHA.3876@TK2MSFTNGP15.phx.gbl...
> > Yes, I use that PDO and IoReportTargetDeviceChange().
> > But after i enable the QoS packet scheduler, then it does not work.
> > How can make it work again?
> >
> > ivan
> >
> > "Alireza Dabagh [MS]" <alid@online.microsoft.com> ¦b¶l¥ó
> > news:O%23Gp4Z1iEHA.3972@tk2msftngp13.phx.gbl ¤¤¼¶¼g...
> >> I seriously doubt this is directly related to psched (packet
scheduler).
> >> assuming you are calling IoReportTargetDeviceChange(), what do you use
> >> for
> >> PDO? Could it be you are suing PDO of the psched miniport and your app
is
> >> listening for changes for the PDO of the underlying physical adapter?
> >>
> >> -ali
> >>
> >> --
> >> This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >>
> >> "Ivan" <greativan_77@hotmail.com> wrote in message
> >> news:emRcdGMiEHA.1512@TK2MSFTNGP10.phx.gbl...
> >> >I use PnP notification, by calling
> > IoReportTargetDeviceChangesAsynchronous,
> >> > to send the status indication to UI.
> >> > If the "QoS packet Scheduler" is disabled, it works.
> >> > But if If the "QoS packet Scheduler" is enabled, the UI can't receive
> > the
> >> > notificaiton.
> >> >
> >> > Ivan
> >> >
> >> > "Alireza Dabagh [MS]" <alid@online.microsoft.com> ¦b¶l¥ó
> >> > news:Oicu6CvhEHA.2604@TK2MSFTNGP09.phx.gbl ¤¤¼¶¼g...
> >> >> What status indication are we talking about? what do you do to
trigger
> >> > them?
> >> >>
> >> >> -ali
> >> >>
> >> >> --
> >> >> This posting is provided "AS IS" with no warranties, and confers no
> >> > rights.
> >> >>
> >> >> "Ivan" <greativan_77@hotmail.com> wrote in message
> >> >> news:e%23RIYrbhEHA.396@TK2MSFTNGP12.phx.gbl...
> >> >> > Hello,
> >> >> >
> >> >> > I have written an protocol driver (Modifid from DDK sample code,
> >> >> > Ndisprot).
> >> >> >
> >> >> > I found that if the service "QoS packet Scheduler" is enabled,
> >> >> >
> >> >> > then my protocol driver can't receive the indication in
> >> > ProtocolStatus().
> >> >> >
> >> >> > But if I disable the service "QoS packet Scheduler",
> >> >> >
> >> >> > then my protocol driver can receive the indication.
> >> >> >
> >> >> > How can my protocol driver receives the indication and the service
> > "QoS
> >> >> > packet Scheduler" is enabled?
> >> >> >
> >> >> > Best Regards,
> >> >> > Ivan
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>