Mixture WDF filter driver with WDM class driver

Hi all,

We have an exisiting WDM class driver and now are building a new WDF class
driver. And we are also going to build a new filter driver on top of them.
Is it possible to write the new WDF filter driver that can work with both of
them? Or we have to convert the old WDM driver into a WDF driver? Thanks!

> Is it possible to write the new WDF filter driver that can work with both of

them?

Assuming I understand your question, the answer is “yes” – You can use a WDF driver to filter a device, regardless of whether the driver for the device is written using WDM of WDF technology.

Peter
OSR

Thanks Peter,

So, WDF filter driver can be mixed with WDM drivers, right?

On 7/11/07, xxxxx@osr.com wrote:
>
> > Is it possible to write the new WDF filter driver that can work with
> both of
> > them?
>
> Assuming I understand your question, the answer is “yes” – You can use a
> WDF driver to filter a device, regardless of whether the driver for the
> device is written using WDM of WDF technology.
>
> Peter
> OSR
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Yes, absolutely. Think of the converse. How could it not work (e.g.
imagine if it were true that KMDF drivers did not work with WDM
drivers)? A WDF driver is loaded on a WDM PDO so it has to work there.
Furthermore, if you look at the samples you also get your answer. The
WDF firefly sample works in the middle of 2 WDM drivers (mouclass,
mouhid). A WDF driver is WDM on both ends (incoming and outgoing i/o),
it is just presented to you in a different manner, just like an MFC
application is really a windows application, the veneer is different.

d

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Luc Hunt
Sent: Wednesday, July 11, 2007 11:33 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Mixture WDF filter driver with WDM class driver

Thanks Peter,

So, WDF filter driver can be mixed with WDM drivers, right?

On 7/11/07, xxxxx@osr.com wrote:

> Is it possible to write the new WDF filter driver that can work with
both of
> them?

Assuming I understand your question, the answer is “yes” – You can use
a WDF driver to filter a device, regardless of whether the driver for
the device is written using WDM of WDF technology.

Peter
OSR


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the
List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer