Device has problem: 0x27 (CM_PROB_DRIVER_FAILED_LOAD), problem status: 0xc0000263

Hello,

I new to audio driver and tried to study by installing sysvad example like below…

  1. build driver odebreaker\Windows-driver-samples-main\audio\sysvad → successfully
  2. with target version 10.0.22621
  3. while INSTALLING in 22000.1219 using devcon i see successful like below

–Parihar\testBin\sysvad>devcon.exe install tabletaudiosample.inf Root\sysvad_TabletAudioSample
–Device node created. Install is complete when drivers are installed…
–Updating drivers for Root\sysvad_TabletAudioSample from C:\Users\Huawei\Desktop\Parihar\testBin\sysvad\tabletaudiosample.inf.
–Drivers installed successfully.

  1. PROBLEM is dont see driver is loaded and see yellow bang as below with message in device manager

–Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)

–{Driver Entry Point Not Found}
–The %hs device driver could not locate the entry point %hs in driver %hs.

  1. I am bit like stuck here in setdev log i see below message install log which says – Device has problem: 0x27 (CM_PROB_DRIVER_FAILED_LOAD), problem status: 0xc0000263.

cmd: devcon.exe install tabletaudiosample.inf Root\sysvad_TabletAudioSample
ndv: INF path: C:\Users\Huawei\Desktop\Parihar\testBin\sysvad\tabletaudiosample.inf
ndv: Install flags: 0x00000001
ndv: {Update Device Driver - ROOT\MEDIA\0001}
ndv: Search options: 0x00000080
ndv: Searching single INF ‘C:\Users\Huawei\Desktop\Parihar\testBin\sysvad\tabletaudiosample.inf’
dvi: {Build Driver List} 18:41:38.694
dvi: Searching for hardware ID(s):
dvi: root\sysvad_tabletaudiosample
dvi: Created Driver Node:
dvi: HardwareID - Root\sysvad_TabletAudioSample
dvi: InfName - c:\users\huawei\desktop\parihar\testbin\sysvad\tabletaudiosample.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 - 12/09/2022
dvi: Version - 18.15.41.717
dvi: {Build Driver List - exit(0x00000000)} 18:41:38.800
dvi: {DIF_SELECTBESTCOMPATDRV} 18:41:38.806
dvi: Default installer: Enter 18:41:38.812
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:\users\huawei\desktop\parihar\testbin\sysvad\tabletaudiosample.inf
dvi: Section - SYSVAD_SA
dvi: {Select Best Driver - exit(0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 18:41:38.863
ndv: Force Installing Driver:
ndv: Inf Name - tabletaudiosample.inf
ndv: Driver Date - 12/09/2022
ndv: Driver Version - 18.15.41.717
ndv: Driver package ‘C:\Windows\System32\DriverStore\FileRepository\tabletaudiosample.inf_amd64_20267ce74dd29e91\tabletaudiosample.inf’ is already imported.
sto: {Setup Import Driver Package: c:\users\huawei\desktop\parihar\testbin\sysvad\tabletaudiosample.inf} 18:41:38.902
sto: Driver package already imported as ‘oem44.inf’.
sto: {Setup Import Driver Package - exit (0x00000000)} 18:41:38.923
dvi: Searching for hardware ID(s):
dvi: root\sysvad_tabletaudiosample
dvi: Class GUID of device changed to: {4d36e96c-e325-11ce-bfc1-08002be10318}.
ump: {Plug and Play Service: Device Install for ROOT\MEDIA\0001}
dvi: {Core Device Install} 18:41:39.002
dvi: {Configure Device - ROOT\MEDIA\0001} 18:41:39.004
dvi: Device Status: 0x01802001
dvi: Parent Device: HTREE\ROOT\0
sto: {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\tabletaudiosample.inf_amd64_20267ce74dd29e91\tabletaudiosample.inf}
sto: Source Filter = root\sysvad_tabletaudiosample
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_tabletaudiosample}
inf: Start Type = 3
inf: Service Type = 1
inf: Error Control = 1
inf: Image Path = \SystemRoot\System32\DriverStore\FileRepository\tabletaudiosample.inf_amd64_20267ce74dd29e91\tabletaudiosample.sys
inf: Display Name = Virtual Audio Device (WDM) - Tablet Sample Driver
inf: Created new service ‘sysvad_tabletaudiosample’.
inf: {Add Service: exit(0x00000000)}
inf: Hardware Id = Root\sysvad_TabletAudioSample
inf: {Configure Driver Configuration: SYSVAD_SA.NT}
inf: Service Name = sysvad_tabletaudiosample
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} 18:41:39.109
flq: Hardlinking ‘C:\Windows\System32\DriverStore\FileRepository\wdmaudio.inf_amd64_7fe60d98e9203253\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_7fe60d98e9203253\portcls.sys’ to ‘C:\Windows\System32\drivers\portcls.sys’.
cpy: Existing file ‘C:\Windows\System32\drivers\portcls.sys’ remains unchanged.
flq: Hardlinking ‘C:\Windows\System32\DriverStore\FileRepository\wdmaudio.inf_amd64_7fe60d98e9203253\MsApoFxProxy.dll’ to ‘C:\Windows\System32\MsApoFxProxy.dll’.
cpy: Existing file ‘C:\Windows\System32\MsApoFxProxy.dll’ remains unchanged.
flq: {FILE_QUEUE_COMMIT - exit(0x00000000)} 18:41:39.122
sto: {Configure Driver Package: exit(0x00000000)}
dvi: Install Device: Configuring device. 18:41:39.125
dvi: Configuration: oem44.inf:root\sysvad_tabletaudiosample,SYSVAD_SA
dvi: Install Device: Configuring device completed. 18:41:39.149
dvi: Device Status: 0x01802001
dvi: Install Device: Starting device ‘ROOT\MEDIA\0001’. 18:41:39.150
dvi: Install Device: Starting device completed. 18:41:39.175
!!! dvi: Device not started: Device has problem: 0x27 (CM_PROB_DRIVER_FAILED_LOAD), problem status: 0xc0000263.
dvi: {Configure Device - exit(0x00000000)} 18:41:39.176
dvi: {Core Device Install - exit(0x00000000)} 18:41:39.178
ump: {Plug and Play Service: Device Install exit(00000000)}
ndv: {Update Device Driver - exit(00000000)}
ndv: {Install Related Drivers} 18:41:39.191
ndv: {Install Related Drivers: exit(0x00000000)} 18:41:39.197
<<< Section end 2022/12/09 18:41:39.203
<<< [Exit status: SUCCESS]

  1. I see DLLs are placed properly in system 32 folder too

Extra : when i change target version to 22000 and build the driver, then it is loading without any problem…!!

Appreciate any help suggestions

thanks
Parihar

See https://community.osr.com/discussion/292960/driver-does-not-work-on-some-versions-of-windows-10