About port display name

Hi,

I wrote a virtual com port driver. If I installed it under the ports class,
in the device manager you could see the name like “XXXXXXXXX (com3)”. But if
I installed it under my own branch, however, the name changed to
“XXXXXXXXXX”, no port number was suffixed.

Could you please tell me how to add the port number in the second case?

Thanks,
David


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,

the name changed to
“XXXXXXXXXX”, no port number was suffixed.
Could you please tell me how to add the port number in the second case?

Very easy, write a CoInstaller DLL and after installation in the
post processing phase change the friendly name to friendly name +
(COMxx).

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com