using addfilter to add filter driver for usb

Hi

Is it possible to use the addflter example given with windows 2000 ddk
for adding filter driver for usb. I feel that this part of code needs
changes.

static const GUID * deviceGuids = {
&DiskClassGuid,
&VolumeClassGuid,
}

i think that there is a need to add guid for USBclass.

i have gone through ntddstor.h. but unable to find GUID for usb
devices. am i going in right direction.

Please provide your feedback to get the right path…

Thanks
Rohit

Once you have attached to a usb device what do you want to do? There is
no generic guid that will get you attached to all usb devices. Rather,
you can get yourself filtering the HC and hubs, but after that things
get dicey.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rohit Gauba,
Noida
Sent: Tuesday, July 12, 2005 5:35 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] using addfilter to add filter driver for usb

Hi

Is it possible to use the addflter example given with windows 2000 ddk
for adding filter driver for usb. I feel that this part of code needs
changes.

static const GUID * deviceGuids = {
&DiskClassGuid,
&VolumeClassGuid,
}

i think that there is a need to add guid for USBclass.

i have gone through ntddstor.h. but unable to find GUID for usb
devices. am i going in right direction.

Please provide your feedback to get the right path…

Thanks
Rohit


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

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com