请问Device setup class 与 Device interface class有什么区别和关系,看了MSDN的介绍但还是不太明白,请高人指教:)
解决方案 »
- MFC游戏贴位图效率太低(在线等)
- 请问:如何在窗口中添加滚动条
- 关于创建服务的一个小问题
- 如何将CDBVariant类型中的时间类型转换成SQLSERVER中的DATATIME类型?
- 怎样实现删除一个正在运行的exe文件?
- 帮忙看一下这个警告是什么原因?谢谢
- 急!!!C++基础问题,有关单链表的,CurrentImage->next=(LPVOID)(new IMAGE())......;//IMAGE为一自定义结构!不知错在哪new 返回的不是一个
- 困惑我已久的问题,各位高手知道的指点一下,谢谢了!!!
- 请教:类似URL下拉菜单那种选择功能的实现?
- 请教函数调用的问题
- 哪位有做图像配准的图像?
- 有没有用MFC写的对对碰游戏源代码啊?
网上找了下:
Device setup classes provide a mechanism for grouping devices that are installed and configured in the same way.
A setup class identifies the class installer and class co-installers that are involved in installing the devices that belong to the class.
For example, all CD-ROM drives belong to the CDROM setup class and will use the same co-installer when installed.Device interface classes provide a mechanism for grouping devices according to shared characteristics.
Rather than tracking the presence in the system of an individual device, drivers and user applications can register to be notified of the arrival or removal of any device that belongs to a particular interface class.
个人理解:
setup class一样的话表示这些设备的驱动是可以用同样的方法安装. 鼠标 和 U盘的驱动安装是一样的 所以setup class一样
setup class一般是放在inf文件里面, 表明安装此驱动的时候 操作系统可以用这种方法去安装.
interface class 我也挺迷惑的, 他是放在驱动的sys文件里面的 应该是说厂商定义的吧, 不知道是否一个多接口的USB设备 会有多个interface class 没玩过多接口的设备.