From: Maxim S. Shatskih on 18 Mar 2010 07:05 > I'm not sure how to determine the hardware ID under which I need to > add these registry keys. Add for all Disk class, then refuse attach for non-USB disks (i.e. AddDevice is a no-op returning STATUS_SUCCESS). -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: Sushma on 18 Mar 2010 07:21 > > Add for all Disk class, then refuse attach for non-USB disks (i.e. AddDevice is a no-op returning STATUS_SUCCESS). > I would like to add filter driver for my USB stick (disk). If I have more than one USB stick attached, then how do I find my device. ~Sushma
From: Tim Roberts on 18 Mar 2010 23:39 Sushma <sushma.yella(a)gmail.com> wrote: > >I would like to add filter driver for my USB stick (disk). If I have >more than one USB stick attached, then how do I find my device. Your filter driver can read the device descriptor, which contains the VID/PID of the device. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
From: Sushma on 19 Mar 2010 10:23 > > >I would like to add filter driver for my USB stick (disk). If I have > >more than one USB stick attached, then how do I find my device. > Thanks for the reply. I was actually looking if there is any other possible solution. May be finding the child device which is enumerated for USBSTOR port. Is this feasible? I wanted to make sure if I implemented the best solution. ~Sushma
From: Don Burn on 19 Mar 2010 10:37 USBstor enumerates a disk PDO. Make a disk class upper or lower filter, then in AddDevice only attach to drives on USB. Note: if you want an upper filter to the disk this is easy use IOCTL_STORAGE_QUERY_PROPERTY Don Burn (MVP, Windows DKD) Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr > -----Original Message----- > From: Sushma [mailto:sushma.yella(a)gmail.com] > Posted At: Friday, March 19, 2010 10:23 AM > Posted To: microsoft.public.development.device.drivers > Conversation: Install Filter Driver > Subject: Re: Install Filter Driver > > > > > >I would like to add filter driver for my USB stick (disk). If I have > > >more than one USB stick attached, then how do I find my device. > > > > Thanks for the reply. > > I was actually looking if there is any other possible solution. May be finding > the child device which is enumerated for USBSTOR port. Is this feasible? > > I wanted to make sure if I implemented the best solution. > > ~Sushma > > > __________ Information from ESET Smart Security, version of virus signature > database 4958 (20100319) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com >
First
|
Prev
|
Pages: 1 2 Prev: Driver Development - Digitally signing Next: How to work with StorportLogSystemEvent |