custom ICON display in device manager

hi,
I have written a USB device driver ( USB peripheral device).
In the INF file, I am using USB Class GUID and USB Class.
when i install the device ,its getting displayed under USB Class with
*standard
“ICON”* in device manager.
now i want my device to be displayed under USB Class with *custom
“ICON”*in device manager
*Is it possible to replace the standard class "ICON " with custom “ICON”
for my device only? *
*if that can be done .how can i do it?*
thanks for ur reply.
bharat.

See the “INF ClassInstall32 Section” in the DDK help. Nice colors.

=====================
Mark Roddy


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bharat
Sent: Wednesday, May 11, 2005 9:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] custom ICON display in device manager

hi,

I have written a USB device driver ( USB peripheral device).
In the INF file, I am using USB Class GUID and USB Class.

when i install the device ,its getting displayed under USB Class with
standard “ICON” in device manager.

now i want my device to be displayed under USB Class with custom “ICON” in
device manager

Is it possible to replace the standard class "ICON " with custom “ICON”
for my device only?
if that can be done .how can i do it?

thanks for ur reply.
bharat.

— 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

Oh - and icons are class specific.

=====================
Mark Roddy


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Wednesday, May 11, 2005 10:33 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] custom ICON display in device manager

See the “INF ClassInstall32 Section” in the DDK help. Nice colors.

=====================
Mark Roddy


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bharat
Sent: Wednesday, May 11, 2005 9:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] custom ICON display in device manager

hi,

I have written a USB device driver ( USB peripheral device).
In the INF file, I am using USB Class GUID and USB Class.

when i install the device ,its getting displayed under USB Class with
standard “ICON” in device manager.

now i want my device to be displayed under USB Class with custom “ICON” in
device manager

Is it possible to replace the standard class "ICON " with custom “ICON”
for my device only?
if that can be done .how can i do it?

thanks for ur reply.
bharat.

— 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
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

You should not install your driver under the USB class. The class is supposed to be restricted to controllers and hubs. You should install under your own custom class.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of bharat
Sent: Wednesday, May 11, 2005 6:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] custom ICON display in device manager

hi,
?
I?have written a USB device driver?( USB?peripheral device).?
In the INF file,?I am using USB Class GUID? and USB Class.
?
when i install the device ,its getting displayed under USB Class with standard “ICON” in device manager.
?
now i want? my device to be displayed under USB Class with custom “ICON” in device manager
?
Is it possible to?replace ?the standard class “ICON?” with? custom “ICON” for my device only?
if that can be done .how can? i do it?
?
thanks for ur reply.
bharat.??
?
— 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

Still - usbstor.inf, usbprint.inf and many others install their drivers
under this class, which is a bit odd given that statement…
I also read this kind of statement somewhere on the DDK, and couldn’t
understand the reason for it:
The USB class has no class-specific property pages, installers or filters,
so why should someone avoid putting his driver there?
More importantly, what can Microsoft do now, when so many driver developers
put their drivers there (-- BTW, I didn’t :slight_smile: —)?

Shahar

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, May 11, 2005 6:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] custom ICON display in device manager

You should not install your driver under the USB class. The class is
supposed to be restricted to controllers and hubs. You should install under
your own custom class.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bharat
Sent: Wednesday, May 11, 2005 6:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] custom ICON display in device manager

hi,
?
I?have written a USB device driver?( USB?peripheral device). In the INF
file,?I am using USB Class GUID? and USB Class.
?
when i install the device ,its getting displayed under USB Class with
standard “ICON” in device manager.
?
now i want? my device to be displayed under USB Class with custom “ICON” in
device manager
?
Is it possible to?replace ?the standard class “ICON?” with? custom “ICON”
for my device only?
if that can be done .how can? i do it?
?
thanks for ur reply.
bharat.??
?
— 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


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

There is a class coinstaller. This directive is for moving forward. As the OP found out, he can’t change his icon. That is one of the problems being solved by moving folks out of the USB class.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Shahar Talmi
Sent: Wednesday, May 11, 2005 11:28 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] custom ICON display in device manager

Still - usbstor.inf, usbprint.inf and many others install their drivers under this class, which is a bit odd given that statement…
I also read this kind of statement somewhere on the DDK, and couldn’t understand the reason for it:
The USB class has no class-specific property pages, installers or filters, so why should someone avoid putting his driver there?
More importantly, what can Microsoft do now, when so many driver developers put their drivers there (-- BTW, I didn’t :slight_smile: —)?

Shahar

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Wednesday, May 11, 2005 6:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] custom ICON display in device manager

You should not install your driver under the USB class. The class is supposed to be restricted to controllers and hubs. You should install under your own custom class.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of bharat
Sent: Wednesday, May 11, 2005 6:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] custom ICON display in device manager

hi,
?
I?have written a USB device driver?( USB?peripheral device). In the INF file,?I am using USB Class GUID? and USB Class.
?
when i install the device ,its getting displayed under USB Class with standard “ICON” in device manager.
?
now i want? my device to be displayed under USB Class with custom “ICON” in device manager
?
Is it possible to?replace ?the standard class “ICON?” with? custom “ICON”
for my device only?
if that can be done .how can? i do it?
?
thanks for ur reply.
bharat.??
?
— 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


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


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

Shahar Talmi wrote:

Still - usbstor.inf, usbprint.inf and many others install their drivers
under this class, which is a bit odd given that statement…
I also read this kind of statement somewhere on the DDK, and couldn’t
understand the reason for it:
The USB class has no class-specific property pages, installers or filters,
so why should someone avoid putting his driver there?

Because it causes the devices to be listed in Device Manager under
“Universal Serial Bus controllers”. Unless it really is a USB
controller, this is going to confuse those end-users.

Of course, one might ask what a confused end user is doing in Device
Manager to begin with, but I digress.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Dear experts,

Actually I wanted use custom class for my driver. But this custom
class GUID is failing CheckINF test in HCT. So I got a drirectve from
microsft WHQL team to use the standard class GUID which shows my
device under standard class.

So do I use standard class or custom class to have own icon against my device.

Regards,
Bharat.

On 5/11/05, Tim Roberts wrote:
> Shahar Talmi wrote:
>
> >Still - usbstor.inf, usbprint.inf and many others install their drivers
> >under this class, which is a bit odd given that statement…
> >I also read this kind of statement somewhere on the DDK, and couldn’t
> >understand the reason for it:
> >The USB class has no class-specific property pages, installers or filters,
> >so why should someone avoid putting his driver there?
> >
>
> Because it causes the devices to be listed in Device Manager under
> “Universal Serial Bus controllers”. Unless it really is a USB
> controller, this is going to confuse those end-users.
>
> Of course, one might ask what a confused end user is doing in Device
> Manager to begin with, but I digress.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

hi,
i am creating custom class with custom icon .
buti am not getting the icon displayed in the device manager .
i am using these lines of code in my INF file to use standard ICON for
mydivice .
but i am getting default ICON (grey diamond shaped ICON) instead of actual
one.
;[ClassInstall32]
;AddReg=myClassReg

;[myClassReg]
;HKR,%classname%
;HKR,Icon,-21

1.Is there any thing i have to modify in my code to get it working fine.

  1. if i want use custom ICON for custom class then wat all things i have to
    ?

thanks for ur reply

bharat

On 5/11/05, Tim Roberts wrote:
> Shahar Talmi wrote:
>
> >Still - usbstor.inf, usbprint.inf and many others install their drivers
> >under this class, which is a bit odd given that statement…
> >I also read this kind of statement somewhere on the DDK, and couldn’t
> >understand the reason for it:
> >The USB class has no class-specific property pages, installers or
filters,
> >so why should someone avoid putting his driver there?
> >
>
> Because it causes the devices to be listed in Device Manager under
> “Universal Serial Bus controllers”. Unless it really is a USB
> controller, this is going to confuse those end-users.
>
> Of course, one might ask what a confused end user is doing in Device
> Manager to begin with, but I digress.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

>i am using these lines of code in my INF file to use standard ICON for
mydivice .

but i am getting default ICON (grey diamond shaped ICON) instead of
actual one.

;[ClassInstall32]
;AddReg=myClassReg
;[myClassReg]
;HKR,%classname%
;HKR,Icon,-21

You realize all of those lines are commented out?

Loren

hi,
i am sorry repeating the above (because it was commented).
i am creating custom class with custom icon .
buti am not getting the icon displayed in the device manager .
i am using these lines of code in my INF file to use standard ICON for
mydivice .
but i am getting default ICON (grey diamond shaped ICON) instead of actual
one.
[ClassInstall32]
AddReg=myClassReg

[myClassReg]
HKR,%classname%
HKR,Icon,-21

1.Is there any thing i have to modify in my code to get it working fine.

  1. if i want use custom ICON for custom class then wat all things i have to
    ?

thanks for ur reply

bharat

On 5/13/05, Loren Wilton wrote:
>
> >i am using these lines of code in my INF file to use standard ICON for
> mydivice .
> >but i am getting default ICON (grey diamond shaped ICON) instead of
> actual one.
>
> [ClassInstall32]
> AddReg=myClassReg
> [myClassReg]
> HKR,%classname%
> HKR,Icon,-21
>
> You realize all of those lines are commented out?
>
> Loren
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Not shure this is your problem but in my INF files
the icon number is within " “.
Something like: HKR,Icon,”-23"

Regards,
PaoloC

----- Original Message -----
From: bharat
To: Windows System Software Devs Interest List
Sent: Friday, May 13, 2005 8:38 AM
Subject: Re: [ntdev] custom ICON display in device manager

hi,

i am creating custom class with custom icon .
buti am not getting the icon displayed in the device manager .

i am using these lines of code in my INF file to use standard ICON for mydivice .
but i am getting default ICON (grey diamond shaped ICON) instead of actual one.

;[ClassInstall32]
;AddReg=myClassReg
;[myClassReg]
;HKR,%classname%
;HKR,Icon,-21

1.Is there any thing i have to modify in my code to get it working fine.

  1. if i want use custom ICON for custom class then wat all things i have to ?

thanks for ur reply


bharat

On 5/11/05, Tim Roberts wrote:
> Shahar Talmi wrote:
>
> >Still - usbstor.inf, usbprint.inf and many others install their drivers
> >under this class, which is a bit odd given that statement…
> >I also read this kind of statement somewhere on the DDK, and couldn’t
> >understand the reason for it:
> >The USB class has no class-specific property pages, installers or filters,
> >so why should someone avoid putting his driver there?
> >
>
> Because it causes the devices to be listed in Device Manager under
> “Universal Serial Bus controllers”. Unless it really is a USB
> controller, this is going to confuse those end-users.
>
> Of course, one might ask what a confused end user is doing in Device
> Manager to begin with, but I digress.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

— 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

Dear PaoloC,
thanks for your reply.
i even tried that in double quotes.
but the result was same.
regards ,
B
On 5/13/05, PaoloC wrote:
>
> Not shure this is your problem but in my INF files
> the icon number is within " “.
> Something like: HKR,Icon,”-23"
> Regards,
> PaoloC
>
> ----- Original Message -----
> From: bharat
> To: Windows System Software Devs Interest List
> Sent: Friday, May 13, 2005 8:38 AM
> Subject: Re: [ntdev] custom ICON display in device manager
>
> hi,
> i am creating custom class with custom icon .
> buti am not getting the icon displayed in the device manager .
> i am using these lines of code in my INF file to use standard ICON for
> mydivice .
> but i am getting default ICON (grey diamond shaped ICON) instead of actual
> one.
> ;[ClassInstall32]
> ;AddReg=myClassReg
>
> ;[myClassReg]
> ;HKR,%classname%
> ;HKR,Icon,-21
>
> 1.Is there any thing i have to modify in my code to get it working fine.
>
> 2. if i want use custom ICON for custom class then wat all things i have
> to ?
>
> thanks for ur reply
> –
> bharat
>
> On 5/11/05, Tim Roberts wrote:
> > Shahar Talmi wrote:
> >
> > >Still - usbstor.inf, usbprint.inf and many others install their drivers
> > >under this class, which is a bit odd given that statement…
> > >I also read this kind of statement somewhere on the DDK, and couldn’t
> > >understand the reason for it:
> > >The USB class has no class-specific property pages, installers or
> filters,
> > >so why should someone avoid putting his driver there?
> > >
> >
> > Because it causes the devices to be listed in Device Manager under
> > “Universal Serial Bus controllers”. Unless it really is a USB
> > controller, this is going to confuse those end-users.
> >
> > Of course, one might ask what a confused end user is doing in Device
> > Manager to begin with, but I digress.
> >
> > –
> > Tim Roberts, xxxxx@probo.com
> > Providenza & Boekelheide, Inc.
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@gmail.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
> —
> 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
>
> — 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
>
> —
> 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
>

Is -21 a valid index ?
I am currently using -5 and -23 only.

PaoloC
----- Original Message -----
From: bharat
To: Windows System Software Devs Interest List
Sent: Friday, May 13, 2005 11:26 AM
Subject: Re: [ntdev] custom ICON display in device manager

Dear PaoloC,
thanks for your reply.

i even tried that in double quotes.
but the result was same.

regards ,
B

On 5/13/05, PaoloC wrote:
Not shure this is your problem but in my INF files
the icon number is within " “.
Something like: HKR,Icon,”-23"

Regards,
PaoloC

----- Original Message -----
From: bharat
To: Windows System Software Devs Interest List
Sent: Friday, May 13, 2005 8:38 AM
Subject: Re: [ntdev] custom ICON display in device manager

hi,

i am creating custom class with custom icon .
buti am not getting the icon displayed in the device manager .

i am using these lines of code in my INF file to use standard ICON for mydivice .
but i am getting default ICON (grey diamond shaped ICON) instead of actual one.

;[ClassInstall32]
;AddReg=myClassReg
;[myClassReg]
;HKR,%classname%
;HKR,Icon,-21

1.Is there any thing i have to modify in my code to get it working fine.

2. if i want use custom ICON for custom class then wat all things i have to ?

thanks for ur reply


bharat

On 5/11/05, Tim Roberts wrote:
> Shahar Talmi wrote:
>
> >Still - usbstor.inf, usbprint.inf and many others install their drivers
> >under this class, which is a bit odd given that statement…
> >I also read this kind of statement somewhere on the DDK, and couldn’t
> >understand the reason for it:
> >The USB class has no class-specific property pages, installers or filters,
> >so why should someone avoid putting his driver there?
> >
>
> Because it causes the devices to be listed in Device Manager under
> “Universal Serial Bus controllers”. Unless it really is a USB
> controller, this is going to confuse those end-users.
>
> Of course, one might ask what a confused end user is doing in Device
> Manager to begin with, but I digress.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@gmail.com

> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

— 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


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

— 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

Dear PaoloC,
Thanks.
i am getting right for these numbers.
can u (any one)tell me wat i should do if want have custom icon.
thanks in advance.
regards,
B

On 5/13/05, PaoloC wrote:
>
> Is -21 a valid index ?
> I am currently using -5 and -23 only.
> PaoloC
>
> ----- Original Message -----
> From: bharat
> To: Windows System Software Devs Interest List
> Sent: Friday, May 13, 2005 11:26 AM
> Subject: Re: [ntdev] custom ICON display in device manager
>
> Dear PaoloC,
> thanks for your reply.
> i even tried that in double quotes.
> but the result was same.
> regards ,
> B
> On 5/13/05, PaoloC wrote:
>
> > Not shure this is your problem but in my INF files
> > the icon number is within " “.
> > Something like: HKR,Icon,”-23"
> > Regards,
> > PaoloC
> >
> > ----- Original Message -----
> > From: bharat
> > To: Windows System Software Devs Interest List
> > Sent: Friday, May 13, 2005 8:38 AM
> > Subject: Re: [ntdev] custom ICON display in device manager
> >
> > hi,
> > i am creating custom class with custom icon .
> > buti am not getting the icon displayed in the device manager .
> > i am using these lines of code in my INF file to use standard ICON for
> > mydivice .
> > but i am getting default ICON (grey diamond shaped ICON) instead of
> > actual one.
> > ;[ClassInstall32]
> > ;AddReg=myClassReg
> >
> > ;[myClassReg]
> > ;HKR,%classname%
> > ;HKR,Icon,-21
> >
> > 1.Is there any thing i have to modify in my code to get it working fine.
> >
> > 2. if i want use custom ICON for custom class then wat all things i have
> > to ?
> >
> > thanks for ur reply
> > –
> > bharat
> >
> > On 5/11/05, Tim Roberts wrote:
> > > Shahar Talmi wrote:
> > >
> > > >Still - usbstor.inf, usbprint.inf and many others install their
> > drivers
> > > >under this class, which is a bit odd given that statement…
> > > >I also read this kind of statement somewhere on the DDK, and couldn’t
> >
> > > >understand the reason for it:
> > > >The USB class has no class-specific property pages, installers or
> > filters,
> > > >so why should someone avoid putting his driver there?
> > > >
> > >
> > > Because it causes the devices to be listed in Device Manager under
> > > “Universal Serial Bus controllers”. Unless it really is a USB
> > > controller, this is going to confuse those end-users.
> > >
> > > Of course, one might ask what a confused end user is doing in Device
> > > Manager to begin with, but I digress.
> > >
> > > –
> > > Tim Roberts, xxxxx@probo.com
> > > Providenza & Boekelheide, Inc.
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@gmail.com
> > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> >
> > —
> > 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
> >
> > — 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
> >
> > —
> > 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
> >
>
> — 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
>
> —
> 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
>

Hi,

I thought that negative numbers are reserved for system use, while
positive # indicate to pull the icon from some user supplied property
page.  Try 1 (or 2, or 3 … ) instead of -21, -5 etc.

Regards,

-Mike

bharat wrote:

type=“cite”>

Dear PaoloC,

Thanks.

i am getting right for these numbers.

can u (any one)tell me wat i should do if want have custom icon.

thanks in advance.

regards,

 

On 5/13/05, class=“gmail_sendername”>PaoloC <xxxxx@tin.it>
wrote:

style=“border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;”>

Is -21 a valid index ?

I am currently using -5 and -23
only.

 

PaoloC

style=“border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;”> class=“q”>

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”>-----
Original Message -----

style=“background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> From:
onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@gmail.com" target=“_blank”>bharat

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> To:
onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>Windows System
Software Devs Interest List

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> Sent:
Friday, May 13, 2005 11:26 AM

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> Subject:
Re: [ntdev] custom ICON display in device manager

 

Dear PaoloC,

thanks for your reply.

 

i even tried that in double quotes.

but the result was same.

 

regards ,

B

 

class=“gmail_quote”>On 5/13/05, PaoloC
< href=“mailto:xxxxx@tin.it” target=“_blank”>
xxxxx@tin.it> wrote:

style=“border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;”>

Not shure this is your problem
but in my INF files

the icon number is within " ".

Something like:
HKR,Icon,“-23”

 

Regards,

PaoloC

 

style=“border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;”>

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”>-----
Original Message -----

style=“background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> From:
onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@gmail.com" target=“_blank”>bharat

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> To:
onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>Windows System
Software Devs Interest List

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> Sent:
Friday, May 13, 2005 8:38 AM

style=“font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;”> Subject:
Re: [ntdev] custom ICON display in device manager

 

hi,

 

i am creating custom class  with custom icon .

buti am not getting the icon displayed in the device
manager .

 

i am using these lines of code in my INF file to use
standard ICON for mydivice .

but i am  getting  default ICON (grey diamond shaped
ICON) instead of actual one.

 

;[ClassInstall32]

;AddReg=myClassReg

;[myClassReg]

;HKR,%classname%

;HKR,Icon,-21

1.Is there any thing i have to modify in my code to get it
working fine.

  1. if i want use custom ICON for custom class  then wat
    all things  i have  to ? 

thanks for ur reply

bharat

 

 

On 5/11/05, Tim Roberts < onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@probo.com" target=“_blank”>xxxxx@probo.com>
wrote:

> Shahar Talmi wrote:

>

> >Still - usbstor.inf, usbprint.inf and many others install
their drivers

> >under this class, which is a bit odd given that statement…

> >I also read this kind of statement somewhere on the DDK, and
couldn’t

> >understand the reason for it:

> >The USB class has no class-specific property pages, installers
or filters,

> >so why should someone avoid putting his driver there?

> >

>

> Because it causes the devices to be listed in Device Manager under

> “Universal Serial Bus controllers”.  Unless it really is a USB

> controller, this is going to confuse those end-users.

>

> Of course, one might ask what a confused end user is doing in
Device

> Manager to begin with, but I digress.

>

> –

> Tim Roberts, onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@probo.com" target=“_blank”>xxxxx@probo.com

> Providenza & Boekelheide, Inc.

>

> —

> Questions? First check the Kernel Driver FAQ at onclick=“return top.js.OpenExtLink(window,event,this)”
href=“http://www.osronline.com/article.cfm?id=256” target=“_blank”>http://www.osronline.com/article.cfm?id=256

>

> You are currently subscribed to ntdev as: onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@gmail.com" target=“_blank”>xxxxx@gmail.com

> To unsubscribe send a blank email to onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>xxxxx@lists.osr.com

>


Questions? First check the Kernel Driver FAQ at onclick=“return top.js.OpenExtLink(window,event,this)”
href=“http://www.osronline.com/article.cfm?id=256” target=“_blank”>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 onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>
xxxxx@lists.osr.com

 

— Questions? First check the Kernel Driver FAQ at onclick=“return top.js.OpenExtLink(window,event,this)”
href=“http://www.osronline.com/article.cfm?id=256” target=“_blank”>
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 onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>
xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at onclick=“return top.js.OpenExtLink(window,event,this)”
href=“http://www.osronline.com/article.cfm?id=256” target=“_blank”>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 onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>
xxxxx@lists.osr.com

— Questions? First check the Kernel Driver FAQ at onclick=“return top.js.OpenExtLink(window,event,this)”
href=“http://www.osronline.com/article.cfm?id=256” target=“_blank”>
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 onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>
xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at onclick=“return top.js.OpenExtLink(window,event,this)”
href=“http://www.osronline.com/article.cfm?id=256” target=“_blank”>
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 onclick=“return top.js.OpenExtLink(window,event,this)”
href="mailto:xxxxx@lists.osr.com" target=“_blank”>
xxxxx@lists.osr.com


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

Comments inline below:

-----Original Message-----

From: bharat
To: Windows System Software Devs Interest List
Sent: 5/13/2005 2:38 AM
Subject: Re: [ntdev] custom ICON display in device manager

i am creating custom class with custom icon .
buti am not getting the icon displayed in the device manager .

i am using these lines of code in my INF file to use standard ICON for
mydivice .
but i am getting default ICON (grey diamond shaped ICON) instead of
actual one.

;[ClassInstall32]
;AddReg=myClassReg

;[myClassReg]
;HKR,%classname%
;HKR,Icon,-21

This my seem too obvious but you might wish to remove the semicolon
before your code.

1.Is there any thing i have to modify in my code to get it working fine.

  1. if i want use custom ICON for custom class then wat all things i
    have to ?

thanks for ur reply


bharat