RtlIsNtDdiVersionAvailable(NTDDI_WIN10_19H1) returns FALSE

  • Thread starter Thread starter Kernel_Dev
  • Start date Start date
K

Kernel_Dev

Guest
I am building a WDM driver using Windows 10 EWDK v1903.

The build command line is as follows :
msbuild /p:configuration=debug /p:platform=x64 /p:targetversion=windows10

The .vcxproj file has the following settings:
<TargetVersion>Windows10</TargetVersion>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>

When this driver calls RtlIsNtDdiVersionAvailable(), it returns FALSE for all versions above NTDDI_WIN10 i.e. NTDDI_WIN10_TH2 through NTDDI_WIN10_19H1.

The driver is being tested on 18362.19h1_release.190318-1202.

Any thoughts on how I can fix this?

Thanks,
Kernel Dev

Continue reading...
 
Back
Top