Doron
Fri Nov 17 22:25:46 CST 2006
AddDevice will only be called if you are inthe official list of filters that
the pnp manager knows about. if you are attaching to a stack that is
already built and started, AddDevice will not be called. furthermore,
adding yourself after the stack is in the started state is not supported.
to add yourself dynamically, you need to register the filter and the
stop/restart the stack
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Amie Putney" <#> wrote in message
news:eIT9DznCHHA.4404@TK2MSFTNGP06.phx.gbl...
>
> "Don Burn" <burn@stopspam.acm.org> wrote in message
> news:OMEoDbnCHHA.4928@TK2MSFTNGP02.phx.gbl...
>> Yes, it will.
>
> When will it be called?
>
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>>
http://www.windrvr.com
>> Remove StopSpam from the email to reply
>>
>>
>> "Amie Putney" <#> wrote in message
>> news:eCApNXnCHHA.4016@TK2MSFTNGP02.phx.gbl...
>> >
>> > "Don Burn" <burn@stopspam.acm.org> wrote in message
>> > news:ux0PwFnCHHA.4764@TK2MSFTNGP03.phx.gbl...
>> >> If it is to the top of the stack yes.
>> >
>> > Will AddDevice be called ?
>> >
>> >>
>> >> --
>> >> Don Burn (MVP, Windows DDK)
>> >> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> >>
http://www.windrvr.com
>> >> Remove StopSpam from the email to reply
>> >>
>> >>
>> >>
>> >> "Amie Putney" <#> wrote in message
>> >> news:%23$1HZ5mCHHA.4992@TK2MSFTNGP03.phx.gbl...
>> >> >
>> >> > "Don Burn" <burn@stopspam.acm.org> wrote in message
>> >> > news:ecZN%23cmCHHA.4680@TK2MSFTNGP04.phx.gbl...
>> >> >> If the stack is PNP (and most are at the device level) the filter
> has
>> > to
>> >> > be
>> >> >> PNP.
>> >> >
>> >> > Is it possible to attach a filter driver to a PNP stack after boot,
>> >> > dynamically?
>> >> >
>> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Don Burn (MVP, Windows DDK)
>> >> >> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> >> >>
http://www.windrvr.com
>> >> >> Remove StopSpam from the email to reply
>> >> >>
>> >> >>
>> >> >>
>> >> >> "Amie Putney" <#> wrote in message
>> >> >> news:uyqwJamCHHA.3916@TK2MSFTNGP06.phx.gbl...
>> >> >> > Hi all,
>> >> >> > I am going through the ddk filter samples, and I have noticed
>> >> >> > that they tend to be pnp drivers. If I attach a filter device to
>> >> >> > a stack dynamically (as a result of a user command), does
>> >> >> > my filter still need to support pnp or is it not necessary?
>> >> >> > Amie.
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>