Re: Unique Identification in 'Remove Device' list by Doron
Doron
Mon Feb 07 23:02:58 CST 2005
the driver letter association is a part of the hot plug applet b/c it has
special code to handle storage. i would recommend a device co installer for
your device. it can set the device friendly name at install time. it can
create the name that appears in the stop dialog (it will also be the name
shown in device manager as well).
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Kevin" <klm@morwood.ca> wrote in message
news:%23G2NftVDFHA.3376@TK2MSFTNGP12.phx.gbl...
> Thanks Ray,
>
> I am sure there must be a better way. Other vendors have done this sort
> of thing. Look at the mass storage devices. They all end up showing the
> drive letter they are mounted to. This helps the user to know which
> device they want to unplug.
>
> Kevin
>
> Ray Trent wrote:
>> One (perhaps bad) way that comes to mind is to have the device report a
>> different "friendly name" in its descriptors... one that includes the
>> extra info you want shown.
>>
>> Kevin wrote:
>>
>>> Hello,
>>>
>>> I have a USB DD that carries data from a simple data collection device
>>> to the Windows software. Each device can collect data for a few points
>>> and subsequently some users will want to plug multiple devices in.
>>>
>>> All of this works fine...well, there are problems but it wouldn't be
>>> software if it worked perfectly.
>>>
>>> My question is: I would like to be able to alter the string that shows
>>> up in the 'remove device' list (in the system tray) so that it says (for
>>> example)
>>>
>>> Stop DataRecorder (345)
>>> Stop DataRecorder (346)
>>>
>>> Currently it shows simply:
>>>
>>> Stop DataRecorder
>>> Stop DataRecorder
>>>
>>> All of physical devices have unique serial numbers. That number is
>>> displayed prominently on the device. That is what I am showing in the
>>> braces.
>>>
>>> Thank you in advance
>>>
>>> Kevin
>>