From: Mark McDougall on 19 Apr 2010 11:32 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 19 Apr 2010 13:24 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 19 Apr 2010 20:36 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 19 Apr 2010 21:23 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 19 Apr 2010 21:30 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
|
Next
|
Last
Pages: 1 2 Prev: symbolic names for multiple instances of devices Next: Bypass 16-point touch calibration |