From: Mark McDougall on
Hi,

How do I change the display name in Device Manager?

eg. serial ports show up as "Communications Port (COM1)" etc.

I have similar multiple devices which I'd like to name as "MyDev0"
"MyDev1" etc... (currently they show as the common name from the INF file)

Can this be done programmatically from the driver, or is there special INF
black magic required?

TIA
Regards,

--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, <http://www.vl.com.au>
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266
From: Doron Holan [MSFT] on
you can write a coinstaller which changes the friendly name at install time

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"Mark McDougall" <markm(a)vl.com.au> wrote in message
news:O84#EW93KHA.4952(a)TK2MSFTNGP02.phx.gbl...
> Hi,
>
> How do I change the display name in Device Manager?
>
> eg. serial ports show up as "Communications Port (COM1)" etc.
>
> I have similar multiple devices which I'd like to name as "MyDev0"
> "MyDev1" etc... (currently they show as the common name from the INF file)
>
> Can this be done programmatically from the driver, or is there special INF
> black magic required?
>
> TIA
> Regards,
>
> --
> Mark McDougall, Engineer
> Virtual Logic Pty Ltd, <http://www.vl.com.au>
> 21-25 King St, Rockdale, 2216
> Ph: +612-9599-3255 Fax: +612-9599-3266

From: Mark McDougall on
Doron Holan [MSFT] wrote:

> you can write a coinstaller which changes the friendly name at install time

OK, thanks! I'll look into it.

Regards,

--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, <http://www.vl.com.au>
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266
From: Mark McDougall on
Arghh...

I can set a "port number" in the PDO device extension when the bus driver
enumerates my child devices. This would, for example, correspond to the
UINumber in the registry. The coinstaller would pick up the UINumber so it
can set the friendly name - eg. MyDev0, MyDev1...

During AddDevice() in my child device driver, I need to assign the
symbolic name - eg. MYDEV0, MYDEV1... This, however, needs the same "port
number" or UINumber that was assigned during enumeration - but how do I
access this from the DeviceAdd()?

TIA!
Regards,

--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, <http://www.vl.com.au>
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266
From: Mark McDougall on

I should add that I'm writing a KMDF driver...

Regards,

--
Mark McDougall, Engineer
Virtual Logic Pty Ltd, <http://www.vl.com.au>
21-25 King St, Rockdale, 2216
Ph: +612-9599-3255 Fax: +612-9599-3266