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.

Re: Do filter drivers have to be pnp? by Don

Don
Fri Nov 17 10:41:01 CST 2006

If the stack is PNP (and most are at the device level) the filter has to be
PNP.


--
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.
>
>



Re: Do filter drivers have to be pnp? by Amie

Amie
Fri Nov 17 11:32:15 CST 2006


"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.
> >
> >
>
>



Re: Do filter drivers have to be pnp? by Don

Don
Fri Nov 17 11:53:33 CST 2006

If it is to the top of the stack yes.

--
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.
>> >
>> >
>>
>>
>
>



Re: Do filter drivers have to be pnp? by Amie

Amie
Fri Nov 17 12:25:36 CST 2006


"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.
> >> >
> >> >
> >>
> >>
> >
> >
>
>



Re: Do filter drivers have to be pnp? by Don

Don
Fri Nov 17 12:32:07 CST 2006

Yes, it will.


--
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.
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Re: Do filter drivers have to be pnp? by Amie

Amie
Fri Nov 17 13:15:27 CST 2006


"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.
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>



Re: Do filter drivers have to be pnp? by soviet_bloke

soviet_bloke
Fri Nov 17 17:30:42 CST 2006

Don,

> If the stack is PNP (and most are at the device level) the filter has to be
> PNP.

In fact, it *SHOULD* be PnP. However, if you are just desperate to
attach non-PnP filter to
the top of PnP stack, technically there is nothing that stands in your
way (of course, you would have to do it from DriverEntry(), rather than
AddDevice(), for understandable reasons).

Certainly, in practical terms it would be quite unwise approach, but
this is already a different story.....

Anton Bassov

Don Burn wrote:
> If the stack is PNP (and most are at the device level) the filter has to be
> PNP.
>
>
> --
> 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.
> >
> >


Re: Do filter drivers have to be pnp? by Kelly

Kelly
Fri Nov 17 20:24:02 CST 2006

> > If the stack is PNP (and most are at the device level) the filter has to
be
> > PNP.
>
> In fact, it *SHOULD* be PnP. However, if you are just desperate to
> attach non-PnP filter to
> the top of PnP stack, technically there is nothing that stands in your
> way (of course, you would have to do it from DriverEntry(), rather than
> AddDevice(), for understandable reasons).
>
> Certainly, in practical terms it would be quite unwise approach, but
> this is already a different story.....
>

Hi Anton, this is Mark.
Do you have any knowledge of whether it is possible to install
diskperf.sys on a volume instead of on the disk? (in principle)



Re: Do filter drivers have to be pnp? by Doron

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.
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Re: Do filter drivers have to be pnp? by soviet_bloke

soviet_bloke
Fri Nov 17 22:32:48 CST 2006

Mark,

> Do you have any knowledge of whether it is possible to install
> diskperf.sys on a volume instead of on the disk? (in principle)

Logical volumes on basic disks are managed by Ftdisk.sys , which
communicates with partition objects, managed by Disk.sys, via the
private interface. Therefore, technically Ftdisk.sys is unrelated to
the storage stack (although, from the logical standpoint, their
relationship is pretty obvious), so that using storage filters with
Ftdisk. sys does not seem to be a good idea. If you want to monitor
volumes with storage filters, you should attach these filters to
partition objects that volumes represent - once partition objects
belong to the storage stack, you should not have any trouble with
installing storage filters on partitions

Anton Bassov

Kelly Pahl wrote:
> > > If the stack is PNP (and most are at the device level) the filter has to
> be
> > > PNP.
> >
> > In fact, it *SHOULD* be PnP. However, if you are just desperate to
> > attach non-PnP filter to
> > the top of PnP stack, technically there is nothing that stands in your
> > way (of course, you would have to do it from DriverEntry(), rather than
> > AddDevice(), for understandable reasons).
> >
> > Certainly, in practical terms it would be quite unwise approach, but
> > this is already a different story.....
> >
>
> Hi Anton, this is Mark.
> Do you have any knowledge of whether it is possible to install
> diskperf.sys on a volume instead of on the disk? (in principle)