HLK ApiValidator test Error: xxx.sys has unsupported API call to "ntoskrnl.exe!KeGetCurrentIrql"

muaxi8 5 Reputation points
2023-12-25T03:01:57.28+00:00

hello:

Environemts:

Windows SDK version: 10.0.22621.0

HLK: Windows 10 22H2, it is running the server 2016 .

I am developing the kernel mode driver for Windows 10 and trying to pass the ApiValidator.

I can pass the ApiValidator in VS2022 environment. But I can't pass it in HLK environment.

i am getting Error: xxx.sys has unsupported API call to "ntoskrnl.exe!KeGetCurrentIrql"problem

I attach the UniversalDDIs.xml files .

  • UniversalDDIs.xml vs2022: C:\Program Files (x86)\Windows Kits\10\build\10.0.22621.0\universalDDIs\x64\UniversalDDIs.xml
  • amd64_UniversalDDIs.xml HLK: C:\Program Files (x86)\Windows Kits\10\Hardware Lab Kit\Tests\amd64\ApiValidator\amd64_UniversalDDIs

can you help me ,why KeGetCurrentIrql is not support in the HLK,but

driver can running . How can I fix it

thank you !

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,014 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,420 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,568 questions
{count} vote