From: Sushma on 17 Mar 2010 11:47 Hi All, I want to install my disk upper filter driver for a USB mass storage device programatically. I think I need to use CreateService() and other routines to start the serivce. At the same time I need to add registry keys (UpperFilters key) under USBSTOR to install as filter driver. I'm not sure how to determine the hardware ID under which I need to add these registry keys. How do I find hardware ID for the disk device of my USB mass storage device to add the registy keys? Thank You. Regards, Sushma
From: Don Burn on 17 Mar 2010 12:00 You do not install with CreateService since this is a PnP stack. You will need an INF file to install it, and if you want this programmatically then look at the DevCon sample in the WDK. This is a sample tool that gives you the capabilities of DeviceManager. But, I would be sure my driver is working correctly with a standard install before you go there. 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: Wednesday, March 17, 2010 11:48 AM > Posted To: microsoft.public.development.device.drivers > Conversation: Install Filter Driver > Subject: Install Filter Driver > > Hi All, > > I want to install my disk upper filter driver for a USB mass storage device > programatically. I think I need to use CreateService() and other routines to > start the serivce. At the same time I need to add registry keys (UpperFilters > key) under USBSTOR to install as filter driver. > > I'm not sure how to determine the hardware ID under which I need to add these > registry keys. How do I find hardware ID for the disk device of my USB mass > storage device to add the registy keys? > > Thank You. > > Regards, > Sushma > > > __________ Information from ESET Smart Security, version of virus signature > database 4952 (20100317) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com >
From: Sushma on 17 Mar 2010 13:21 > You do not install with CreateService since this is a PnP stack. You > will need an INF file to install it, and if you want this > programmatically then look at the DevCon sample in the WDK. This is a > sample tool that gives you the capabilities of DeviceManager. But, I > would be sure my driver is working correctly with a standard install > before you go there. > I do not have an INF file for my filter driver. I want to install the driver without the INF file. I think this is possible. Using the USB driver can i find the disk driver id which is enumerated for my device. ~Sushma
From: Don Burn on 17 Mar 2010 13:43 Yes it is possible, but it is going to fragile and never work well. Why would you want to go to the pain of doing something that is completely out of the norm? You can do this programmatically with an INF file. 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: Wednesday, March 17, 2010 1:21 PM > Posted To: microsoft.public.development.device.drivers > Conversation: Install Filter Driver > Subject: Re: Install Filter Driver > > > > You do not install with CreateService since this is a PnP stack. �You > > will need an INF file to install it, and if you want this > > programmatically then look at the DevCon sample in the WDK. �This is a > > sample tool that gives you the capabilities of DeviceManager. � But, I > > would be sure my driver is working correctly with a standard install > > before you go there. > > > > I do not have an INF file for my filter driver. I want to install the driver > without the INF file. I think this is possible. > > Using the USB driver can i find the disk driver id which is enumerated for my > device. > > ~Sushma > > > __________ Information from ESET Smart Security, version of virus signature > database 4952 (20100317) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com >
From: Maxim S. Shatskih on 18 Mar 2010 07:04 > Yes it is possible, but it is going to fragile and never work well. Filter driver? not so at all, single registry value addition is by far better then INF files with all these SetupCopyOEMInf and such. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
|
Next
|
Last
Pages: 1 2 Prev: Driver Development - Digitally signing Next: How to work with StorportLogSystemEvent |