From: uba on
I think the "Friendly Name/Display Name" ("Disk Drive") that is shown
is coming from disk.inf file.

What change I need to do in my filter INF file so that the default
friendly name is used?

Thanks nd Regards,
Kid
From: Tim Roberts on
uba <kid07.uba(a)gmail.com> wrote:
>
>I think the "Friendly Name/Display Name" ("Disk Drive") that is shown
>is coming from disk.inf file.
>
>What change I need to do in my filter INF file so that the default
>friendly name is used?

You can't install a filter with an INF file. You can install function PLUS
filter, but then the friendly name comes from your INF file.

Do the install with a simple application. Much simpler.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: Tucker on

What if you are using WLK to test a filter driver only? It asks for the INF file of your driver.

On 04/09/2010 20:18:34:648 Tim Roberts <timr(a)probo.com> wrote:


>
> uba <kid07.uba(a)gmail.com> wrote:
> >
> >I think the "Friendly Name/Display Name" ("Disk Drive") that is shown
> >is coming from disk.inf file.
> >
> >What change I need to do in my filter INF file so that the default
> >friendly name is used?
>
> You can't install a filter with an INF file. You can install function PLUS
> filter, but then the friendly name comes from your INF file.
>
> Do the install with a simple application. Much simpler.
From: Tim Roberts on
Tucker <nothing(a)nowhere.com> wrote:
>
>What if you are using WLK to test a filter driver only? It asks for the INF file of your driver.

The phrase "filter driver" is overloaded and can mean one of several
different things. The disk stack is not where I normally live, so before I
give a pot of bad advice, I'll let someone else respond.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: uba on
>
> You would use SetupDiGetClassDevs to fetch the collection of all disk class
> devices, then SetupDiEnumDeviceInfo to enumerate the list, then
> CM_Get_Device_ID to get the device IDs until you find the one you want.
> Then you use SetupDiSetDeviceRegistryProperty to add your filter to the
> list.  (Well, you have to Get the property first to make sure you aren't
> already there.)
>

I do not have any idea what the device Id would be for the disk device
that is enumerated. It could vary from one device to other. So, I
would like to know the disk ID from my USB device. The child device ID
that my USB device had enumerated.

Is this the way to get the disk ID.

Thanks nd Regars,
Kid