[wdmaudiodev] Re: Extra PDO

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 29 Sep 2017 10:18:55 -0700

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.


Thank you for clearing this up.  No one on the [ntdev] list knew.  Do
you remember when this was introduced?

I see it is actually spelled [DeviceInstall32]; I saw it in the sample
INF but didn't know what it did, mostly because it's not documented.  If
you have the ability to do so, you might tell the powers that be that
this very useful section is not included in the INF documentation.

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: