I am developing the system driver for Windows 10 and trying to pass the ApiValidator.
I can pass the ApiValidator in VS2019 environment. But I can't pass it in HLK environment.
I am getting ApiValidation: Error: XXX.sys has unsupported API call to "ntoskrnl.exe!KeGetCurrentIrql"
issue in HLK environment.
Environments:
- VS 2019: WDK 10.0.20348.0
- HLK:
- Controller Version: 10.1.19041.19041
- Studio Version: 10.0.19041.1
I think the problem is because the UniversalDDIs.xml
file of HLK is older than the UniversalDDIs.xml
file of VS2019.
I shared the UniversalDDIs.xml files.
VS2019_UniversalDDIs.xml (C:\Program Files (x86)\Windows Kits\10\build\universalDDIs\x64\UniversalDDIs.xml)
HLK_UniversalDDIs.xml (C:\Program Files (x86)\Windows Kits\10\Hardware Lab Kit\Tests\amd64\ApiValidator\amd64_UniversalDDIs.xml)
Could you help me with?
Thank you
Li
Specify in your
.vcxproj
file, inPropertyGroup Label="Globals"
entry: