microsoft / Windows-driver-samples

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.
Microsoft Public License
6.96k stars 4.94k forks source link

sysVAD is broken and cannot be loaded #746

Open AndreiHarasemiuc opened 2 years ago

AndreiHarasemiuc commented 2 years ago

I'm following the APO development docs to the letter and I am successfully building sysVAD on my Windows 10 Vers 21H2 (19044.1645) with Virtual Studio 2022.

When trying to deploy on my target machine (same machine) I get the following:

Screenshot 2022-06-19 at 21 06 58

Attempted this on two different machines with the exact same result. Looking at setup.api.dev.log, here's a piece of the output for installing ComponetizedAudioSampleExtension.inf:

Device not started: Device has problem: 0x27 (CM_PROB_DRIVER_FAILED_LOAD), problem status: 0xc00000263 The only clue I have about this.

Here's all the setup.api.dev.log output for installing the 3 .inf files (ComponetizedAudioSample.inf, ComponetizedAudioSampleExtension.inf, ComponetizedApoSample.inf):


     cmd: C:\\tools\\devcon  install ComponentizedAudioSample.inf Root\Sysvad_ComponentizedAudioSample
     ndv: INF path: C:\sysvad\ComponentizedAudioSample.inf
     ndv: Install flags: 0x00000001
     ndv: {Update Device Driver - ROOT\MEDIA\0000}
     ndv:      Search options: 0x00000080
     ndv:      Searching single INF 'C:\sysvad\ComponentizedAudioSample.inf'
     dvi:      {Build Driver List} 10:52:59.688
     dvi:           Searching for hardware ID(s):
     dvi:                root\sysvad_componentizedaudiosample
     sig:           {_VERIFY_FILE_SIGNATURE} 10:52:59.719
     sig:                Key      = componentizedaudiosample.inf
     sig:                FilePath = c:\sysvad\componentizedaudiosample.inf
     sig:                Catalog  = c:\sysvad\sysvad.cat
!    sig:                Verifying file against specific (valid) catalog failed.
!    sig:                Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:52:59.766
     sig:           {_VERIFY_FILE_SIGNATURE} 10:52:59.766
     sig:                Key      = componentizedaudiosample.inf
     sig:                FilePath = c:\sysvad\componentizedaudiosample.inf
     sig:                Catalog  = c:\sysvad\sysvad.cat
!    sig:                Verifying file against specific Authenticode(tm) catalog failed.
!    sig:                Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:52:59.797
     dvi:           Created Driver Node:
     dvi:                HardwareID   - Root\sysvad_ComponentizedAudioSample
     dvi:                InfName      - c:\sysvad\componentizedaudiosample.inf
     dvi:                DevDesc      - Virtual Audio Device (WDM) - Tablet Sample
     dvi:                Section      - SYSVAD_SA.NT
     dvi:                Rank         - 0x80ff0000
     dvi:                Signer Score - Not digitally signed
     dvi:                DrvDate      - 06/19/2022
     dvi:                Version      - 10.44.0.489
     dvi:           Created Extension Driver Node:
     dvi:                ExtensionID  - {1d641578-54d2-404d-85de-79bb01461ac2}
     dvi:                HardwareID   - Root\sysvad_ComponentizedAudioSample
     dvi:                InfName      - C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_bda3771c83ec23ad\componentizedaudiosampleextension.inf
     dvi:                DevDesc      - Sample Device Extension
     dvi:                Section      - DeviceExtension_Install
     dvi:                Rank         - 0x80ff0000
     dvi:                Signer Score - Not digitally signed
     dvi:                DrvDate      - 06/17/2022
     dvi:                Version      - 14.35.24.441
     dvi:           Created Extension Driver Node:
     dvi:                ExtensionID  - {1d641578-54d2-404d-85de-79bb01461ac2}
     dvi:                HardwareID   - Root\sysvad_ComponentizedAudioSample
     dvi:                InfName      - C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_2382ec4e3184a544\componentizedaudiosampleextension.inf
     dvi:                DevDesc      - Sample Device Extension
     dvi:                Section      - DeviceExtension_Install
     dvi:                Rank         - 0x80ff0000
     dvi:                Signer Score - Not digitally signed
     dvi:                DrvDate      - 06/19/2022
     dvi:                Version      - 7.36.4.367
     dvi:      {Build Driver List - exit(0x00000000)} 10:52:59.938
     dvi:      {DIF_SELECTBESTCOMPATDRV} 10:52:59.954
     dvi:           Default installer: Enter 10:52:59.954
     dvi:                {Select Best Driver}
     dvi:                     Class GUID of device changed to: {4d36e96c-e325-11ce-bfc1-08002be10318}.
     dvi:                     Selected Driver:
     dvi:                          Description - Virtual Audio Device (WDM) - Tablet Sample
     dvi:                          InfFile     - c:\sysvad\componentizedaudiosample.inf
     dvi:                          Section     - SYSVAD_SA
     dvi:                     Selected Extension Driver:
     dvi:                          Description - Sample Device Extension
     dvi:                          InfFile     - c:\windows\system32\driverstore\filerepository\componentizedaudiosampleextension.inf_amd64_2382ec4e3184a544\componentizedaudiosampleextension.inf
     dvi:                          Section     - DeviceExtension_Install
     dvi:                {Select Best Driver - exit(0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 10:53:00.000
     ndv:      Force Installing Driver:
     ndv:           Inf Name       - componentizedaudiosample.inf
     ndv:           Driver Date    - 06/19/2022
     ndv:           Driver Version - 10.44.0.489
     ndv:      Force Installing Extension Driver:
     ndv:           Inf Name       - oem15.inf
     ndv:           Extension Id   - {1d641578-54d2-404d-85de-79bb01461ac2}
     ndv:           Driver Date    - 06/19/2022
     ndv:           Driver Version - 7.36.4.367
     sto:      {Setup Import Driver Package: c:\sysvad\componentizedaudiosample.inf} 10:53:00.047
     inf:           Provider: TODO-Set-Provider
     inf:           Class GUID: {4d36e96c-e325-11ce-bfc1-08002be10318}
     inf:           Driver Version: 06/19/2022,10.44.0.489
     inf:           Catalog File: sysvad.cat
     sto:           {Copy Driver Package: c:\sysvad\componentizedaudiosample.inf} 10:53:00.079
     sto:                Driver Package = c:\sysvad\componentizedaudiosample.inf
     sto:                Flags          = 0x00000007
     sto:                Destination    = C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}
     sto:                Copying driver package files to 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}'.
     flq:                {FILE_QUEUE_COMMIT} 10:53:00.125
     flq:                     Copying 'c:\sysvad\sysvad.cat' to 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\sysvad.cat'.
     flq:                     Copying 'c:\sysvad\tabletaudiosample.sys' to 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\tabletaudiosample.sys'.
     flq:                     Copying 'c:\sysvad\componentizedaudiosample.inf' to 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\componentizedaudiosample.inf'.
     flq:                     Copying 'c:\sysvad\keyworddetectorcontosoadapter.dll' to 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\keyworddetectorcontosoadapter.dll'.
     flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:00.235
     sto:           {Copy Driver Package: exit(0x00000000)} 10:53:00.235
     ump:           Import flags: 0x00000000
     pol:           {Driver package policy check} 10:53:00.282
     pol:           {Driver package policy check - exit(0x00000000)} 10:53:00.282
     sto:           {Stage Driver Package: C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\componentizedaudiosample.inf} 10:53:00.282
     inf:                {Query Configurability: C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\componentizedaudiosample.inf} 10:53:00.313
     inf:                     Driver package uses WDF.
     inf:                     Driver package 'componentizedaudiosample.inf' is configurable.
     inf:                {Query Configurability: exit(0x00000000)} 10:53:00.329
     flq:                {FILE_QUEUE_COMMIT} 10:53:00.329
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\sysvad.cat' to 'C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\sysvad.cat'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\tabletaudiosample.sys' to 'C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\tabletaudiosample.sys'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\componentizedaudiosample.inf' to 'C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\componentizedaudiosample.inf'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{d21e7737-a990-bf4f-b775-3a67bff07c75}\keyworddetectorcontosoadapter.dll' to 'C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\keyworddetectorcontosoadapter.dll'.
     flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:00.391
     sto:                {DRIVERSTORE IMPORT VALIDATE} 10:53:00.391
     sig:                     Driver package catalog is valid.
     sig:                     {_VERIFY_FILE_SIGNATURE} 10:53:00.407
     sig:                          Key      = componentizedaudiosample.inf
     sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\componentizedaudiosample.inf
     sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\sysvad.cat
!    sig:                          Verifying file against specific (valid) catalog failed.
!    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:00.422
     sig:                     {_VERIFY_FILE_SIGNATURE} 10:53:00.422
     sig:                          Key      = componentizedaudiosample.inf
     sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\componentizedaudiosample.inf
     sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}\sysvad.cat
!    sig:                          Verifying file against specific Authenticode(tm) catalog failed.
!    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:00.422
!    sig:                     Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
     sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 10:53:03.657
     sig:                Signer Score  = 0x80000000 (Unsigned)
     sto:                {Core Driver Package Import: componentizedaudiosample.inf_amd64_97737388e20187e3} 10:53:03.661
     sto:                     {DRIVERSTORE IMPORT BEGIN} 10:53:03.661
     bak:                          Create system restore point:
     bak:                               Description = Device Driver Package Install: TODO-Set-Provider Sound, video and game controllers
     bak:                               Time        = 0ms
     bak:                               Status      = 0x00000422 (FAILURE)
     sto:                     {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 10:53:03.678
     cpy:                     {Copy Directory: C:\Windows\System32\DriverStore\Temp\{0fc3ca5a-d3ff-f34a-8509-874f797cdf26}} 10:53:03.679
     cpy:                          Target Path = C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3
     cpy:                     {Copy Directory: exit(0x00000000)} 10:53:03.682
     idb:                     {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\componentizedaudiosample.inf} 10:53:03.683
     idb:                          Created driver package object 'componentizedaudiosample.inf_amd64_97737388e20187e3' in DRIVERS database node.
     idb:                          Created driver INF file object 'oem17.inf' in DRIVERS database node.
     idb:                          Registered driver package 'componentizedaudiosample.inf_amd64_97737388e20187e3' with 'oem17.inf'.
     idb:                     {Register Driver Package: exit(0x00000000)} 10:53:03.684
     idb:                     {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\componentizedaudiosample.inf} 10:53:03.684
     idb:                          Activating driver package 'componentizedaudiosample.inf_amd64_97737388e20187e3'.
     cpy:                          Published 'componentizedaudiosample.inf_amd64_97737388e20187e3\componentizedaudiosample.inf' to 'oem17.inf'.
     idb:                          Indexed 2 device IDs for 'componentizedaudiosample.inf_amd64_97737388e20187e3'.
     sto:                          Flushed driver database node 'DRIVERS'. Time = 16 ms
     sto:                          Flushed driver database node 'SYSTEM'. Time = 16 ms
     idb:                     {Publish Driver Package: exit(0x00000000)} 10:53:03.731
     sto:                     {DRIVERSTORE IMPORT END} 10:53:03.731
     dvi:                          Flushed all driver package files to disk. Time = 15 ms
     sig:                          Installed catalog 'sysvad.cat' as 'oem17.cat'.
     sto:                     {DRIVERSTORE IMPORT END: exit(0x00000000)} 10:53:03.841
     sto:                {Core Driver Package Import: exit(0x00000000)} 10:53:03.841
     sto:           {Stage Driver Package: exit(0x00000000)} 10:53:03.841
     sto:      {Setup Import Driver Package - exit (0x00000000)} 10:53:03.919
     ndv:      Driver package 'C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_2382ec4e3184a544\componentizedaudiosampleextension.inf' is already imported.
     sto:      {Setup Import Driver Package: C:\Windows\INF\oem15.inf} 10:53:03.934
     sto:           Driver package already imported as 'oem15.inf'.
     sto:      {Setup Import Driver Package - exit (0x00000000)} 10:53:03.950
     dvi:      Searching for hardware ID(s):
     dvi:           root\sysvad_componentizedaudiosample
     dvi:      Class GUID of device changed to: {4d36e96c-e325-11ce-bfc1-08002be10318}.
     ump:      {Plug and Play Service: Device Install for ROOT\MEDIA\0000}
     dvi:           {Core Device Install} 10:53:03.997
     dvi:                {Configure Device - ROOT\MEDIA\0000} 10:53:03.997
     dvi:                     Device Status: 0x01802001
     dvi:                     Parent Device: HTREE\ROOT\0
     sto:                     {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\componentizedaudiosample.inf}
     sto:                          Source Filter  = root\sysvad_componentizedaudiosample
     inf:                          Class GUID     = {4d36e96c-e325-11ce-bfc1-08002be10318}
     inf:                          Class Options  = Configurable
     inf:                          {Configure Driver: Virtual Audio Device (WDM) - Tablet Sample}
     inf:                               Section Name = SYSVAD_SA.NT
     inf:                               {Add Service: sysvad_componentizedaudiosample}
     inf:                                    Start Type    = 3
     inf:                                    Service Type  = 1
     inf:                                    Error Control = 1
     inf:                                    Image Path    = \SystemRoot\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\tabletaudiosample.sys
     inf:                                    Display Name  = Virtual Audio Device (WDM) - Tablet Sample Driver
     inf:                                    Created new service 'sysvad_componentizedaudiosample'.
     inf:                               {Add Service: exit(0x00000000)}
     inf:                               Hardware Id  = Root\sysvad_ComponentizedAudioSample
     inf:                               {Configure Driver Configuration: SYSVAD_SA.NT}
     inf:                                    Service Name  = sysvad_componentizedaudiosample
     inf:                                    Included INFs = ks.inf
     inf:                                                    wdmaudio.inf
     inf:                                    Include Scope = Services
     inf:                                    Config Flags  = 0x00000000
     inf:                               {Configure Driver Configuration: exit(0x00000000)}
     inf:                          {Configure Driver: exit(0x00000000)}
     flq:                          {FILE_QUEUE_COMMIT} 10:53:04.075
     flq:                               Hardlinking 'C:\Windows\System32\DriverStore\FileRepository\wdmaudio.inf_amd64_cb639d1f182bc449\drmk.sys' to 'C:\Windows\System32\drivers\drmk.sys'.
     cpy:                               Existing file 'C:\Windows\System32\drivers\drmk.sys' remains unchanged.
     flq:                               Hardlinking 'C:\Windows\System32\DriverStore\FileRepository\wdmaudio.inf_amd64_cb639d1f182bc449\portcls.sys' to 'C:\Windows\System32\drivers\portcls.sys'.
     cpy:                               Existing file 'C:\Windows\System32\drivers\portcls.sys' remains unchanged.
     flq:                          {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:04.091
     sto:                     {Configure Driver Package: exit(0x00000000)}
     sto:                     {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_2382ec4e3184a544\componentizedaudiosampleextension.inf}
     sto:                          Source Filter  = root\sysvad_componentizedaudiosample
     inf:                          Class GUID     = {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
     inf:                          Class Options  = Configurable
     inf:                          {Configure Driver: Sample Device Extension}
     inf:                               Section Name = DeviceExtension_Install
     inf:                               Hardware Id  = Root\sysvad_ComponentizedAudioSample
     inf:                               {Configure Driver Configuration: DeviceExtension_Install}
     inf:                                    No associated service.
     inf:                                    {Add Component: SwapApo}
     inf:                                         Component Ids = SWC\VEN_SMPL&CID_APO
     inf:                                    {Add Component: exit(0x00000000)}
     inf:                                    {Add Component: MsApoFxProxy}
     inf:                                         Component Ids = SWC\VEN_MSFT&CID_PROXYAPO
     inf:                                    {Add Component: exit(0x00000000)}
     inf:                                    Config Flags  = 0x00000000
     inf:                               {Configure Driver Configuration: exit(0x00000000)}
     inf:                          {Configure Driver: exit(0x00000000)}
     flq:                          {FILE_QUEUE_COMMIT} 10:53:04.106
     flq:                          {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:04.106
     sto:                     {Configure Driver Package: exit(0x00000000)}
     dvi:                     Install Device: Configuring device. 10:53:04.106
     dvi:                          Configuration: oem17.inf:root\sysvad_componentizedaudiosample,SYSVAD_SA
     dvi:                          Configuration: oem15.inf:root\sysvad_componentizedaudiosample,DeviceExtension_Install
     dvi:                     Install Device: Configuring device completed. 10:53:04.137
     dvi:                     Device Status: 0x01802001
     dvi:                     Install Device: Starting device 'ROOT\MEDIA\0000'. 10:53:04.137
     dvi:                     Install Device: Starting device completed. 10:53:04.184
!!!  dvi:                     Device not started: Device has problem: 0x27 (CM_PROB_DRIVER_FAILED_LOAD), problem status: 0xc0000263.
     dvi:                {Configure Device - exit(0x00000000)} 10:53:04.184
     dvi:           {Core Device Install - exit(0x00000000)} 10:53:04.184
     ump:      {Plug and Play Service: Device Install exit(00000000)}
     ndv: {Update Device Driver - exit(00000000)}
     ndv: {Install Related Drivers} 10:53:04.200
     ndv: {Install Related Drivers: exit(0x00000000)} 10:53:04.200
<<<  Section end 2022/06/19 10:53:04.200
<<<  [Exit status: SUCCESS]

>>>  [Device Install (DiInstallDriver) - C:\sysvad\ComponentizedAudioSampleExtension.inf]
>>>  Section start 2022/06/19 10:53:28.598
      cmd: "C:\Windows\System32\InfDefaultInstall.exe" "C:\sysvad\ComponentizedAudioSampleExtension.inf"
     ndv: Flags: 0x00000000
     ndv: INF path: C:\sysvad\ComponentizedAudioSampleExtension.inf
     dvs: {DrvSetupInstallDriver - C:\sysvad\ComponentizedAudioSampleExtension.inf}
     dvs:      Flags: 0x00000000
     dvs:      {Driver Setup Import Driver Package: C:\sysvad\ComponentizedAudioSampleExtension.inf} 10:53:28.598
     sto:           {Copy Driver Package: C:\sysvad\ComponentizedAudioSampleExtension.inf} 10:53:28.598
     sto:                Driver Package = C:\sysvad\ComponentizedAudioSampleExtension.inf
     sto:                Flags          = 0x00000007
     sto:                Destination    = C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}
     sto:                Copying driver package files to 'C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}'.
     flq:                {FILE_QUEUE_COMMIT} 10:53:28.614
     flq:                     Copying 'C:\sysvad\sysvad.cat' to 'C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}\sysvad.cat'.
     flq:                     Copying 'C:\sysvad\ComponentizedAudioSampleExtension.inf' to 'C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}\ComponentizedAudioSampleExtension.inf'.
     flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:28.614
     sto:           {Copy Driver Package: exit(0x00000000)} 10:53:28.614
     ump:           Import flags: 0x00000000
     pol:           {Driver package policy check} 10:53:28.629
     pol:           {Driver package policy check - exit(0x00000000)} 10:53:28.629
     sto:           {Stage Driver Package: C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}\ComponentizedAudioSampleExtension.inf} 10:53:28.629
     inf:                {Query Configurability: C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}\ComponentizedAudioSampleExtension.inf} 10:53:28.645
     inf:                     Driver package is fully isolated.
     inf:                     Driver package 'ComponentizedAudioSampleExtension.inf' is configurable.
     inf:                {Query Configurability: exit(0x00000000)} 10:53:28.645
     flq:                {FILE_QUEUE_COMMIT} 10:53:28.645
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}\sysvad.cat' to 'C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}\sysvad.cat'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{6c0f923f-ae82-9847-a265-4892b695f3e9}\ComponentizedAudioSampleExtension.inf' to 'C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}\ComponentizedAudioSampleExtension.inf'.
     flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:28.661
     sto:                {DRIVERSTORE IMPORT VALIDATE} 10:53:28.661
     sig:                     Driver package catalog is valid.
     sig:                     {_VERIFY_FILE_SIGNATURE} 10:53:28.692
     sig:                          Key      = ComponentizedAudioSampleExtension.inf
     sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}\ComponentizedAudioSampleExtension.inf
     sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}\sysvad.cat
!    sig:                          Verifying file against specific (valid) catalog failed.
!    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:28.692
     sig:                     {_VERIFY_FILE_SIGNATURE} 10:53:28.692
     sig:                          Key      = ComponentizedAudioSampleExtension.inf
     sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}\ComponentizedAudioSampleExtension.inf
     sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}\sysvad.cat
!    sig:                          Verifying file against specific Authenticode(tm) catalog failed.
!    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:28.692
!    sig:                     Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
     sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 10:53:31.669
     sig:                Signer Score  = 0x80000000 (Unsigned)
     sto:                {Core Driver Package Import: componentizedaudiosampleextension.inf_amd64_61244336a5eba132} 10:53:31.685
     sto:                     {DRIVERSTORE IMPORT BEGIN} 10:53:31.685
     bak:                          Create system restore point:
     bak:                               Description = Device Driver Package Install: TODO-Set-Provider Extensions
     bak:                               Time        = 15ms
     bak:                               Status      = 0x00000422 (FAILURE)
     sto:                     {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 10:53:31.700
     cpy:                     {Copy Directory: C:\Windows\System32\DriverStore\Temp\{9fe2a7df-fdeb-2245-b4e0-e6ac388bb239}} 10:53:31.700
     cpy:                          Target Path = C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_61244336a5eba132
     cpy:                     {Copy Directory: exit(0x00000000)} 10:53:31.856
     idb:                     {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_61244336a5eba132\ComponentizedAudioSampleExtension.inf} 10:53:31.856
     idb:                          Created driver package object 'componentizedaudiosampleextension.inf_amd64_61244336a5eba132' in SYSTEM database node.
     idb:                          Created driver INF file object 'oem18.inf' in SYSTEM database node.
     idb:                          Registered driver package 'componentizedaudiosampleextension.inf_amd64_61244336a5eba132' with 'oem18.inf'.
     idb:                     {Register Driver Package: exit(0x00000000)} 10:53:31.856
     idb:                     {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_61244336a5eba132\ComponentizedAudioSampleExtension.inf} 10:53:31.856
     idb:                          Activating driver package 'componentizedaudiosampleextension.inf_amd64_61244336a5eba132'.
     cpy:                          Published 'componentizedaudiosampleextension.inf_amd64_61244336a5eba132\componentizedaudiosampleextension.inf' to 'oem18.inf'.
     idb:                          Indexed 2 device IDs for 'componentizedaudiosampleextension.inf_amd64_61244336a5eba132'.
     sto:                          Flushed driver database node 'SYSTEM'. Time = 31 ms
     idb:                     {Publish Driver Package: exit(0x00000000)} 10:53:31.888
     sto:                     {DRIVERSTORE IMPORT END} 10:53:31.888
     dvi:                          Flushed all driver package files to disk. Time = 15 ms
     sig:                          Installed catalog 'sysvad.cat' as 'oem18.cat'.
     sto:                     {DRIVERSTORE IMPORT END: exit(0x00000000)} 10:53:31.919
     sto:                {Core Driver Package Import: exit(0x00000000)} 10:53:31.919
     sto:           {Stage Driver Package: exit(0x00000000)} 10:53:31.919
     dvs:      {Driver Setup Import Driver Package - exit (0x00000000)} 10:53:31.997
     dvs:      {Driver Setup Update Device: ROOT\MEDIA\0000} 10:53:32.013
     utl:           {Select Drivers - ROOT\MEDIA\0000} 10:53:32.013
     utl:                Driver Node:
     utl:                     Status         - Selected | Installed
     utl:                     Driver INF     - oem17.inf (C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\componentizedaudiosample.inf)
     utl:                     Class GUID     - {4d36e96c-e325-11ce-bfc1-08002be10318}
     utl:                     Driver Version - 06/19/2022,10.44.0.489
     utl:                     Configuration  - Root\Sysvad_ComponentizedAudioSample [SYSVAD_SA.NT]
     utl:                     Driver Rank    - 80FF0000
     utl:                     Signer Score   - Unsigned (80000000)
     utl:                Driver Extension Node:
     utl:                     Status         - Selected
     utl:                     Driver INF     - oem18.inf (C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_61244336a5eba132\componentizedaudiosampleextension.inf)
     utl:                     Class GUID     - {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
     utl:                     Extension ID   - {1d641578-54d2-404d-85de-79bb01461ac2}
     utl:                     Driver Version - 06/19/2022,10.44.0.580
     utl:                     Configuration  - Root\Sysvad_ComponentizedAudioSample
     utl:                     Driver Rank    - 80FF0000
     utl:                     Signer Score   - Unsigned (80000000)
     utl:                Driver Extension Node:
     utl:                     Status         - Outranked
     utl:                     Driver INF     - oem14.inf (C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_bda3771c83ec23ad\componentizedaudiosampleextension.inf)
     utl:                     Class GUID     - {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
     utl:                     Extension ID   - {1d641578-54d2-404d-85de-79bb01461ac2}
     utl:                     Driver Version - 06/17/2022,14.35.24.441
     utl:                     Configuration  - Root\Sysvad_ComponentizedAudioSample [DeviceExtension_Install]
     utl:                     Driver Rank    - 80FF0000
     utl:                     Signer Score   - Unsigned (80000000)
     utl:                Driver Extension Node:
     utl:                     Status         - Outranked | Installed
     utl:                     Driver INF     - oem15.inf (C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_2382ec4e3184a544\componentizedaudiosampleextension.inf)
     utl:                     Class GUID     - {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
     utl:                     Extension ID   - {1d641578-54d2-404d-85de-79bb01461ac2}
     utl:                     Driver Version - 06/19/2022,7.36.4.367
     utl:                     Configuration  - Root\Sysvad_ComponentizedAudioSample [DeviceExtension_Install]
     utl:                     Driver Rank    - 80FF0000
     utl:                     Signer Score   - Unsigned (80000000)
     utl:           {Select Drivers - exit(0x00000000} 10:53:32.044
     dvs:           Installing best driver (oem17.inf) on device 'ROOT\MEDIA\0000'.
     ump:           {Plug and Play Service: Device Install for ROOT\MEDIA\0000}
     dvi:                {Core Device Install} 10:53:32.044
     dvi:                     {Configure Device - ROOT\MEDIA\0000} 10:53:32.044
     dvi:                          Device Status: 0x01802401 [0x27 - 0xc0000263]
     dvi:                          Config Flags: 0x00000000
     dvi:                          Parent Device: HTREE\ROOT\0
     sto:                          {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\componentizedaudiosample.inf}
     sto:                               Source Filter  = Root\Sysvad_ComponentizedAudioSample
     inf:                               Class GUID     = {4d36e96c-e325-11ce-bfc1-08002be10318}
     inf:                               Class Options  = Configurable
     inf:                               {Configure Driver: Virtual Audio Device (WDM) - Tablet Sample}
     inf:                                    Section Name = SYSVAD_SA.NT
     inf:                                    {Add Service: sysvad_componentizedaudiosample}
     inf:                                         Start Type    = 3
     inf:                                         Service Type  = 1
     inf:                                         Error Control = 1
     inf:                                         Image Path    = \SystemRoot\System32\DriverStore\FileRepository\componentizedaudiosample.inf_amd64_97737388e20187e3\tabletaudiosample.sys
     inf:                                         Display Name  = Virtual Audio Device (WDM) - Tablet Sample Driver
     inf:                                         Updated service 'sysvad_componentizedaudiosample'.
     inf:                                    {Add Service: exit(0x00000000)}
     inf:                                    Hardware Id  = Root\sysvad_ComponentizedAudioSample
     inf:                                    {Configure Driver Configuration: SYSVAD_SA.NT}
     inf:                                         Service Name  = sysvad_componentizedaudiosample
     inf:                                         Included INFs = ks.inf
     inf:                                                         wdmaudio.inf
     inf:                                         Include Scope = Services
     inf:                                         Config Flags  = 0x00000000
     inf:                                    {Configure Driver Configuration: exit(0x00000000)}
     inf:                               {Configure Driver: exit(0x00000000)}
     flq:                               {FILE_QUEUE_COMMIT} 10:53:32.138
     flq:                                    Hardlinking 'C:\Windows\System32\DriverStore\FileRepository\wdmaudio.inf_amd64_cb639d1f182bc449\drmk.sys' to 'C:\Windows\System32\drivers\drmk.sys'.
     cpy:                                    Existing file 'C:\Windows\System32\drivers\drmk.sys' remains unchanged.
     flq:                                    Hardlinking 'C:\Windows\System32\DriverStore\FileRepository\wdmaudio.inf_amd64_cb639d1f182bc449\portcls.sys' to 'C:\Windows\System32\drivers\portcls.sys'.
     cpy:                                    Existing file 'C:\Windows\System32\drivers\portcls.sys' remains unchanged.
     flq:                               {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:32.138
     sto:                          {Configure Driver Package: exit(0x00000000)}
     sto:                          {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaudiosampleextension.inf_amd64_61244336a5eba132\componentizedaudiosampleextension.inf}
     sto:                               Source Filter  = Root\Sysvad_ComponentizedAudioSample
     inf:                               Class GUID     = {e2f84ce7-8efa-411c-aa69-97454ca4cb57}
     inf:                               Class Options  = Configurable
     inf:                               {Configure Driver: Sample Device Extension}
     inf:                                    Section Name = DeviceExtension_Install
     inf:                                    Hardware Id  = Root\sysvad_ComponentizedAudioSample
     inf:                                    {Configure Driver Configuration: DeviceExtension_Install}
     inf:                                         No associated service.
     inf:                                         {Add Component: SwapApo}
     inf:                                              Component Ids = SWC\VEN_SMPL&CID_APO
     inf:                                         {Add Component: exit(0x00000000)}
     inf:                                         {Add Component: MsApoFxProxy}
     inf:                                              Component Ids = SWC\VEN_MSFT&CID_PROXYAPO
     inf:                                         {Add Component: exit(0x00000000)}
     inf:                                         Config Flags  = 0x00000000
     inf:                                    {Configure Driver Configuration: exit(0x00000000)}
     inf:                               {Configure Driver: exit(0x00000000)}
     flq:                               {FILE_QUEUE_COMMIT} 10:53:32.153
     flq:                               {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:32.153
     sto:                          {Configure Driver Package: exit(0x00000000)}
     dvi:                          Install Device: Configuring device. 10:53:32.153
     dvi:                               Configuration: oem17.inf:Root\Sysvad_ComponentizedAudioSample,SYSVAD_SA.NT
     dvi:                               Configuration: oem18.inf:Root\Sysvad_ComponentizedAudioSample,*
     dvi:                          Install Device: Configuring device completed. 10:53:32.169
     dvi:                          Device Status: 0x01802401 [0x27 - 0xc0000263]
     dvi:                          Install Device: Starting device 'ROOT\MEDIA\0000'. 10:53:32.185
     dvi:                          Install Device: Starting device completed. 10:53:32.200
!!!  dvi:                          Device not started: Device has problem: 0x27 (CM_PROB_DRIVER_FAILED_LOAD), problem status: 0xc0000263.
     dvi:                     {Configure Device - exit(0x00000000)} 10:53:32.200
     dvi:                {Core Device Install - exit(0x00000000)} 10:53:32.200
     ump:           {Plug and Play Service: Device Install exit(00000000)}
     dvs:           {Install Related Drivers} 10:53:32.200
     dvs:           {Install Related Drivers: exit(0x00000000)} 10:53:32.200
     dvs:      {Driver Setup Update Device - exit(0x00000000)} 10:53:32.200
     dvs: {DrvSetupInstallDriver - exit(00000000)}
<<<  Section end 2022/06/19 10:53:32.216
<<<  [Exit status: SUCCESS]

>>>  [Device Install (DiInstallDriver) - C:\sysvad\ComponentizedApoSample.inf]
>>>  Section start 2022/06/19 10:53:42.584
      cmd: "C:\Windows\System32\InfDefaultInstall.exe" "C:\sysvad\ComponentizedApoSample.inf"
     ndv: Flags: 0x00000000
     ndv: INF path: C:\sysvad\ComponentizedApoSample.inf
     dvs: {DrvSetupInstallDriver - C:\sysvad\ComponentizedApoSample.inf}
     dvs:      Flags: 0x00000000
     dvs:      {Driver Setup Import Driver Package: C:\sysvad\ComponentizedApoSample.inf} 10:53:42.584
     sto:           {Copy Driver Package: C:\sysvad\ComponentizedApoSample.inf} 10:53:42.600
     sto:                Driver Package = C:\sysvad\ComponentizedApoSample.inf
     sto:                Flags          = 0x00000007
     sto:                Destination    = C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}
     sto:                Copying driver package files to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}'.
     flq:                {FILE_QUEUE_COMMIT} 10:53:42.600
     flq:                     Copying 'C:\sysvad\kwsapo.dll' to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\kwsapo.dll'.
     flq:                     Copying 'C:\sysvad\sysvad.cat' to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\sysvad.cat'.
     flq:                     Copying 'C:\sysvad\swapapo.dll' to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\swapapo.dll'.
     flq:                     Copying 'C:\sysvad\ComponentizedApoSample.inf' to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\ComponentizedApoSample.inf'.
     flq:                     Copying 'C:\sysvad\delayapo.dll' to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\delayapo.dll'.
     flq:                     Copying 'C:\sysvad\aecapo.dll' to 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\aecapo.dll'.
     flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:42.756
     sto:           {Copy Driver Package: exit(0x00000000)} 10:53:42.756
     ump:           Import flags: 0x00000000
     pol:           {Driver package policy check} 10:53:42.772
     pol:           {Driver package policy check - exit(0x00000000)} 10:53:42.772
     sto:           {Stage Driver Package: C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\ComponentizedApoSample.inf} 10:53:42.772
     inf:                {Query Configurability: C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\ComponentizedApoSample.inf} 10:53:42.787
     inf:                     Driver package is fully isolated.
     inf:                     Driver package 'ComponentizedApoSample.inf' is configurable.
     inf:                {Query Configurability: exit(0x00000000)} 10:53:42.787
     flq:                {FILE_QUEUE_COMMIT} 10:53:42.787
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\kwsapo.dll' to 'C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\kwsapo.dll'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\sysvad.cat' to 'C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\sysvad.cat'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\swapapo.dll' to 'C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\swapapo.dll'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\ComponentizedApoSample.inf' to 'C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\ComponentizedApoSample.inf'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\delayapo.dll' to 'C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\delayapo.dll'.
     flq:                     Copying 'C:\Users\andre\AppData\Local\Temp\{816c1cc5-545b-7642-b673-422a750a194f}\aecapo.dll' to 'C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\aecapo.dll'.
     flq:                {FILE_QUEUE_COMMIT - exit(0x00000000)} 10:53:42.928
     sto:                {DRIVERSTORE IMPORT VALIDATE} 10:53:42.928
     sig:                     Driver package catalog is valid.
     sig:                     {_VERIFY_FILE_SIGNATURE} 10:53:42.943
     sig:                          Key      = ComponentizedApoSample.inf
     sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\ComponentizedApoSample.inf
     sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\sysvad.cat
!    sig:                          Verifying file against specific (valid) catalog failed.
!    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:42.959
     sig:                     {_VERIFY_FILE_SIGNATURE} 10:53:42.959
     sig:                          Key      = ComponentizedApoSample.inf
     sig:                          FilePath = C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\ComponentizedApoSample.inf
     sig:                          Catalog  = C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}\sysvad.cat
!    sig:                          Verifying file against specific Authenticode(tm) catalog failed.
!    sig:                          Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
     sig:                     {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 10:53:42.959
!    sig:                     Driver package catalog file certificate does not belong to Trusted Root Certificates, but user wants to install anyway.
     sto:                {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 10:53:47.606
     sig:                Signer Score  = 0x80000000 (Unsigned)
     sto:                {Core Driver Package Import: componentizedaposample.inf_amd64_22193fc973923628} 10:53:47.606
     sto:                     {DRIVERSTORE IMPORT BEGIN} 10:53:47.606
     bak:                          Create system restore point:
     bak:                               Description = Device Driver Package Install: TODO-Set-Provider Audio Processing Objects (APOs)
     bak:                               Time        = 0ms
     bak:                               Status      = 0x00000422 (FAILURE)
     sto:                     {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 10:53:47.622
     cpy:                     {Copy Directory: C:\Windows\System32\DriverStore\Temp\{be448906-0856-044f-aa91-adbc4abdbd52}} 10:53:47.622
     cpy:                          Target Path = C:\Windows\System32\DriverStore\FileRepository\componentizedaposample.inf_amd64_22193fc973923628
     cpy:                     {Copy Directory: exit(0x00000000)} 10:53:47.637
     idb:                     {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaposample.inf_amd64_22193fc973923628\ComponentizedApoSample.inf} 10:53:47.637
     idb:                          Created driver package object 'componentizedaposample.inf_amd64_22193fc973923628' in DRIVERS database node.
     idb:                          Created driver INF file object 'oem19.inf' in DRIVERS database node.
     idb:                          Registered driver package 'componentizedaposample.inf_amd64_22193fc973923628' with 'oem19.inf'.
     idb:                     {Register Driver Package: exit(0x00000000)} 10:53:47.637
     idb:                     {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\componentizedaposample.inf_amd64_22193fc973923628\ComponentizedApoSample.inf} 10:53:47.637
     idb:                          Activating driver package 'componentizedaposample.inf_amd64_22193fc973923628'.
     cpy:                          Published 'componentizedaposample.inf_amd64_22193fc973923628\componentizedaposample.inf' to 'oem19.inf'.
     idb:                          Indexed 2 device IDs for 'componentizedaposample.inf_amd64_22193fc973923628'.
     sto:                          Flushed driver database node 'DRIVERS'. Time = 0 ms
     sto:                          Flushed driver database node 'SYSTEM'. Time = 16 ms
     idb:                     {Publish Driver Package: exit(0x00000000)} 10:53:47.668
     sto:                     {DRIVERSTORE IMPORT END} 10:53:47.668
     dvi:                          Flushed all driver package files to disk. Time = 16 ms
     sig:                          Installed catalog 'sysvad.cat' as 'oem19.cat'.
     sto:                     {DRIVERSTORE IMPORT END: exit(0x00000000)} 10:53:47.700
     sto:                {Core Driver Package Import: exit(0x00000000)} 10:53:47.700
     sto:           {Stage Driver Package: exit(0x00000000)} 10:53:47.700
     dvs:      {Driver Setup Import Driver Package - exit (0x00000000)} 10:53:47.778
!    dvs:      Unable to find any matching devices.
     dvs: {DrvSetupInstallDriver - exit(00000000)}
<<<  Section end 2022/06/19 10:53:47.793
<<<  [Exit status: SUCCESS]
shilanzhang commented 2 years ago

This is because the driver is not official signed. you can deploy it on the VM by enable test sign . There are many documents/links talking about how to test SYSVAD sample. but this is the only one I can remeber.: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/test-signing

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debug-universal-drivers--kernel-mode-

The last one tells you everything.

EmmettTsai commented 2 years ago

I have the same problem.

My tool and WDK version:

Microsoft Visual Studio 2022 Version 17.3.1
Windows Driver Kit 10.0.22621.311

Issue can reproduce on:

Windows 10 2004 (19041.1110) (Hyper-V virtual machine)
Windows 10 21H2 (19043.1889) (Desktop device)
Windows 10 21H2 (19044.1889) (Desktop device)
Windows 11 21H2 (22000.318) (Hyper-V virtual machine)
Windows 11 21H2 (22000.856) (NB TravelMate P449-M) 
Windows 11 21H2 (22000.856) (NB Surface Laptop 4) 

Issue can not reproduce on: Windows 11 22H2 (22621.1) (Hyper-V virtual machine)

After some test, I found that calling ExAllocateFromNPagedLookasideList or ExFreeToNPagedLookasideList would cause this issue. My workaround was to use the old function instead (the "#else" case of (NTDDI_VERSION >= NTDDI_WIN10_NI) in wdm.h).

My workaround code: https://github.com/microsoft/Windows-driver-samples/commit/527741561f6b7e0e115da26ae728a99cafdc89c8

MikeTMinnick commented 2 years ago

To solve this, try the following. In Solution Explorer, right-click on the TableAudioSample project and select Properties. Expand Driver Settings and click on General. Select _NT_TARGET_VERSION. In the drop down box, select the Windows version running on your target machine, for example Windows 10.0.22621. Set it for both the Debug and Release configurations. Rebuild the solution and reinstall.

You may need to update your version of Visual Studio to get support for the latest _NT_TARGET_VERSION.