[wdmaudiodev] Re: Extra PDO

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 29 Sep 2017 17:25:31 +0000

Looks like it *should* go here.

https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-sections

I have filed a bug internally.

From: Tim Roberts<mailto:timr@xxxxxxxxx>
Sent: Friday, September 29, 2017 10:19 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: Extra PDO

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<mailto:timr@xxxxxxxxx>

Providenza & Boekelheide, Inc.

Other related posts: