This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
the string in % is used as 'devicedesc' in registry, and will displayed in device manager.
I need create multiple virtual serial using devcon, and want to use custom name for everyone.
I can't differentiate between them using parameters of devcon.
so I give every one a specific hardware ID like:
sorry, maybe it's not the right place to issue the question.
I'm developing virtual serial driver, and want to know how to set 'devicedesc' in 'inf' file.
in example inf:
[Microsoft.NTamd64] %VirtualSerialDeviceName%=VirtualSerial_Install,UMDF\VirtualSerial2um
the string in % is used as 'devicedesc' in registry, and will displayed in device manager.
I need create multiple virtual serial using devcon, and want to use custom name for everyone. I can't differentiate between them using parameters of devcon. so I give every one a specific hardware ID like:
[MyComp.NTamd64] myserial0=SerialCL_Install, Root\myserial0 myserial1=SerialCL_Install, Root\myserial1
then I can install them using devcon.
the 'devicedesc' is 'myserial0' and 'myserial1'. but must use static string in inf, how to give the devicedesc from parameters of devcon?
or another solution like:
[MyComp.NTamd64] %id%=SerialCLInstall, Root\myserial%id%
both of the devicedesc can auto use part of hardware id from commandline, how to get it work?
Thanks!