multiple interface versions under KMDF

There are some old posts about this working but I can’t see anything
recent… is supporting multiple query interface versions supposed to
work under KMDF, or do I need to do it manually with a PreProcess?

Thanks

James

On Fri, Jun 10, 2011 at 11:22 AM, James Harper
wrote:
> There are some old posts about this working but I can’t see anything
> recent… is supporting multiple query interface versions supposed to
> work under KMDF, or do I need to do it manually with a PreProcess?

Last time I checked with v1.9 it didn’t work. I used
EvtDeviceWdmIrpPreprocessPnp to handle IRP_MN_QUERY_INTERFACE.

Kris

>

On Fri, Jun 10, 2011 at 11:22 AM, James Harper
wrote:
> > There are some old posts about this working but I can’t see anything
> > recent… is supporting multiple query interface versions supposed
to
> > work under KMDF, or do I need to do it manually with a PreProcess?
>
> Last time I checked with v1.9 it didn’t work. I used
> EvtDeviceWdmIrpPreprocessPnp to handle IRP_MN_QUERY_INTERFACE.
>

That’s the conclusion I was heading towards. Thanks for confirming.

James

It works if your interface versioning follows the rules. The usbhub versioning does not, so if you are writing a virtual usbhub, you need to pre process.

d

debt from my phone

-----Original Message-----
From: James Harper
Sent: Friday, June 10, 2011 3:48 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] multiple interface versions under KMDF

On Fri, Jun 10, 2011 at 11:22 AM, James Harper
wrote:
> > There are some old posts about this working but I can’t see anything
> > recent… is supporting multiple query interface versions supposed
to
> > work under KMDF, or do I need to do it manually with a PreProcess?
>
> Last time I checked with v1.9 it didn’t work. I used
> EvtDeviceWdmIrpPreprocessPnp to handle IRP_MN_QUERY_INTERFACE.
>

That’s the conclusion I was heading towards. Thanks for confirming.

James


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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

>

It works if your interface versioning follows the rules. The usbhub
versioning
does not, so if you are writing a virtual usbhub, you need to pre
process.

Yes it is usbhub.

What are “the rules” you are referring to?

James

If the size or version changes, so does the guid (since it is now a new interface)

d

debt from my phone

-----Original Message-----
From: James Harper
Sent: Friday, June 10, 2011 5:35 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] multiple interface versions under KMDF

It works if your interface versioning follows the rules. The usbhub
versioning
does not, so if you are writing a virtual usbhub, you need to pre
process.

Yes it is usbhub.

What are “the rules” you are referring to?

James


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

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