This driver is a pure APO driver, which targets a software component (SWC)
exposed by a (different) KSCATEGORY_AUDIO driver.
I chatted to the PnP folks and they told me that the warning is legitimate, you
should explicitly add an empty service for this kind of driver.
They need a .Services section, with the following line:
AddService=,2
From: Tim Roberts<mailto:timr@xxxxxxxxx>
Sent: Wednesday, March 20, 2019 9:32 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Re: New warning/error in Win 1809 1296: Specified
service not associated with hardware
Vincent Wang wrote:
I'm getting this warning when I build my driver, the inf in my code looks like
[ApoComponents.NTamd64]
%Apo.ComponentDesc% = APO_Install,SWC\VEN_XXXX&AID_YYYY2
...
The warning says:
Hardware 'AAA APO' does not have an associated service using install section '
APO_Install'.
This is a warning, but it seems impact the DCH in the Declarative requirement.
Before updating to WDK 1809, seems everything works fine
There isn't any info I'm aware apart from the above URL. Not sure what exactly
it is expecting..
It is expecting there to be an [APO_Install.Service] or
[APO_Install.NTamd64.Service] section, in which you configure the primary
driver for your device. Without that, no kernel driver will be loaded.
Is this one of your sysvad-derived devices?
--
Tim Roberts, timr@xxxxxxxxx<mailto:timr@xxxxxxxxx>
Providenza & Boekelheide, Inc.