使用vs2013编译驱动win7版本,编译之前没有
Set the KMDF version
导致错误net start 驱动 返回:。“发生系统错误6 句柄无效”
文档中说:
The operating system that you specified in your configuration is called the target operating system. For example, if you specified Win7 Debug in your configuration, your target operating system is Windows 7. In Solution Explorer, right click inspect (the driver project), and choose Properties. Navigate to Configuration Properties > Driver Model Settings. Set KMDF Version Major to 1. Set KMDF Version Minror according to your target operating system.
| Target operating system | KMDF minor version |
|---|---|
| Windows 7 | 9 |
| Windows 8 | 11 |
| Windows 8.1 | 13 |
本文介绍如何在Visual Studio 2013中正确设置KMDF版本以编译适用于Windows 7的驱动程序。若未正确设置KMDF版本,在尝试启动驱动时可能会遇到“句柄无效”的错误。
1481

被折叠的 条评论
为什么被折叠?



