I\'m been trying to get into driver development (queue the \"don\'t do that\") I have been looking at this msdn page and after installing the WDK (Windows Driver Kit) 10 I a
I also faced the similar problem. Below worked for me:
Step 1: Aware of Targeted Windows Platform for which you are going to develop driver. You can check 'Windows Version' on your system by looking at Settings->System->About->Windows Specification
Step 2: Make sure you install compatible "Windows SDK" and "WinSDK" matchingto targeted windows platform version.
Step 3: Verify "ntddk.h" exists at $(DDK_INC_PATH). This pre-processor macro typically evaluates to "C:\Program Files (x86)\Windows Kits\10\Include\\km". If you do not see 'km' folder then carefully follow the links mentioned in step 2 above.
Step 4: Verify Project Properties -> Configuration Properties -> General -> Platform Toolset is using "WindowsKernelModeDriver" .