Ensure you have the correct version of WDK installed, matching your Windows SDK version.
Try reinstalling the WDK and Windows SDK.
Make sure your project's include paths are correctly set to point to the WDK directories.
Typically, the path should be something like: C:\Program Files (x86)\Windows Kits\10\Include<version>\km