Matthew van Eerde (Redacted sender Matthew.van.Eerde for DMARC) wrote:
There is a new feature for /virtual drivers only/ that the .inf can
specify a hardware ID in its [DriverInstall32]. When the driver is
added to the Pnp driver store, Pnp will create a new physical device
object with this hardware ID.
So you no longer need to do “devcon install foo.inf some\hardware-id”
– you can use the simpler “/pnputil -a foo.inf/”.
If you do the devcon command, you end up with both physical device
objects, as you observed.
If you are writing a driver for actual physical hardware, you need to
remove the [DriverInstall32] section so you don’t get a useless PDO.