You need to add WDK headers path to your vcxproj include directories:
vcxproj properties -> C/C++ -> General -> Additional Include Directories
C:Program Files (x86)Windows Kits10Include10.0.14393.0km
P.S.: Make sure you install SDK 10 together with WDK 10.
P.P.S: Without SDK you will get Cannot open include file: 'ntdef.h'
error
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…