UMDF,不能为Microsoft定义的类指定[ClassInstall32]部分 [英] UMDF, cannot specify [ClassInstall32] section for Microsoft-defined class
问题描述
我正在使用下一个教程:
我尝试执行步骤紧接着在教程中的描述,但总是得到上面的错误,当编译项目。
此外,我试图搜索,但没有找到任何有用的信息。
可能的其他信息,这可能会帮助您提供一些建议:
- INF文件: http://pastebin.com/71d6bbQm
- 使用Windows 10,最新版本的WDK和VS2015
- 已开始使用
USB用户模式驱动程序
基本上,错误是说你正在尝试创建一个已经存在的类,这是 USBDevice 类。由于您尝试创建新的USB客户端驱动程序,您可以继续删除类定义部分。
但是,如果您正在尝试创建一个新类,然后确保类名和GUID不存在于此列表中:供应商可用的系统定义的设备安装类。
要了解有关INF文件的详细信息,请查看此文章:小脑大脑的INF文件< a>。
I'm working with the next tutorial: How to write your first USB client driver.
And I've got a problem with compiling a project, I've got the next error:
I was trying to do the steps closely to the description in tutorial, but always got the error above, when compiling the project.
Also, I've tried to search, but didn't find any useful information.
Possible additional info, which might help you to give me a piece of advice:
- INF-file: http://pastebin.com/71d6bbQm
- Using Windows 10, latest WDK and VS2015
- Have started exactly
USB User-Mode Driver
template as was mentioned in tutorial
Basically, the error is saying you're trying to create a class that already exist, which is the USBDevice class. Since you're trying to create a new USB client driver, you can go ahead and delete the Class definition section.
However, if you are trying to create a new class, then make sure that the class name and GUID don't already exist in this list: System-Defined Device Setup Classes Available to Vendors.
If you want to learn more about INF files, check out this article: INF Files for Bears of Little Brain.
这篇关于UMDF,不能为Microsoft定义的类指定[ClassInstall32]部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!