https://developer.microsoft.com/zh-cn/windows/hardware/windows-driver-kit
下载 WDK、WinDbg 和相关工具
1、WDK 10
与 VS2015 集成
先安装Visual Studio 2015 with the SDK, 再安装 WDK 10
VS2015中包含了visual studio tools for win10 和 windows sdk for win10.
安装 WDK 后,VS 中 New Project 时,Templates/Visual C++下才会出现Windows Driver。
可运行 WDK 10 的操作系统:win7、win8、win8.1、win10
可使用 WDK 10 开发下列OS驱动:win7、win8、win8.1、win10,2008r2、2016 Technical Preview
2、WDK 8.1更新
与 VS2013 集成
先安装Visual Studio 2013, 再安装 WDK 8.1更新
可运行 WDK 8.1 的操作系统:win7、win8、win8.1、win8.1更新
可使用 WDK 8.1 开发下列OS驱动:win7、win8、win8.1、win8.1更新
3、WDK 8
Microsoft 不支持 WDK 8,并且不再提供针对此工具包的更新。
先安装 Visual Studio Professional 2012 或 Visual Studio Ultimate,然后再安装 WDK 8。
4、WDK 7.1.0 (文件名GRMWDK_EN_7600_1.ISO)
https://www.microsoft.com/en-us/download/details.aspx?id=11800
可使用 WDK 7.1.0 开发下列OS驱动:XP SP3,Vista,Win7,2003 SP1,2008,2008r2
注:
从WDK 8 开始,不再提供 Build Environment,即不再提供setenv.bat初始化命令行编译环境;
只能通过VS或MSBuild。