登录
首页 » Windows开发 » 使用SetupDi...函式列舉設備

使用SetupDi...函式列舉設備

于 2022-10-02 发布 文件大小:286.01 kB
0 210
下载积分: 2 下载次数: 1

代码说明:

应用背景使用SetupDiGetClassDevs列舉設備,透過SP_DEVINFO_DATA結構及SetupDiEnumDeviceInfo來獲取設備資訊。SetupDiGetClassDevs則是取得類別interface,再透過SetupDiGetDeviceInterfaceDetail取得更多界面資訊。关键技术 使用SetupDi系列函數進行設備資訊的管理,獲取設備屬性: #define SPDRP_DEVICEDESC                  (0x00000000)  // DeviceDesc (R/W) #define SPDRP_HARDWAREID                  (0x00000001)  // *HardwareID (R/W) #define SPDRP_COMPATIBLEIDS               (0x00000002)  // CompatibleIDs (R/W) #define SPDRP_UNUSED0                     (0x00000003)  // unused #define SPDRP_SERVICE                     (0x00000004)  // Service (R/W) #define SPDRP_UNUSED1             &nb

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CEDraw是一个在WinCE中实现高速画图的库
    CEDraw是一个在WinCE中实现高速画图的库-CEDraw is a WinCE in achieving high-speed drawing of the library
    2022-01-26 00:42:57下载
    积分:1
  • 类、继承、封装和多态的C++实现, 可以在VC++下直接编译、运行。...
    类、继承、封装和多态的C++实现, 可以在VC++下直接编译、运行。-VC++-OOP
    2022-02-02 23:53:23下载
    积分:1
  • pacman 搜索 python
    人工智能作业...... 小游戏pacman...... 搜索算法,用python完成...... DFS,深度优先搜索 BFS,广度优先搜索 统一的成本, 启发式算法。。。 1.在 search.py 中的 depthFirstSearch 函数中实现深度优先搜索 (DFS) 算法。若要使您的算法完成,写 DFS 的图搜索版本, 从而避免扩大任何已经了的状态 2.在 search.py 中的 breadthFirstSearch 函数中实现的广度优先搜索 (BFS) 算法。再次,写图搜索算法,可避免扩大任何 已经访问状态。测试你的代码相同的方式,你做为深度优先搜索。 3.在 search.py 中的 uniformCostSearch 函数中实现统一成本图搜索算法。 4.实现 A * 图搜索空函数 aStarSearch 在 search.py 中。A * 采用启发式函数作为参数。启发式带两个参数: 在搜索问题  请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-02-05 02:15:14下载
    积分:1
  • 这是一个用JAVA编写的的一个模拟WINDOWNS计算器。程序有很多地方请各位高手指教。...
    这是一个用JAVA编写的的一个模拟WINDOWNS计算器。程序有很多地方请各位高手指教。-This is a preparation using the Java simulation of a WINDOWNS calculator. Procedures are many places you please enlighten master.
    2022-02-02 17:46:55下载
    积分:1
  • 做个图像直线检测的算法,主要是用来检测图像中的直线,
    做个图像直线检测的算法,主要是用来检测图像中的直线,-Make out an arithmatic of checking lines.It is mainly used to check and measure the lines in pictures.
    2022-03-13 11:59:25下载
    积分:1
  • " Empire download system" for the website information and online video...
    《帝国下载系统》是为网站资料下载与在线影视网站提供的解决方案。功能强大,简单易用,全静态页面,完善的会员收费方案,全面满足免费与收费下载或影视网站需求-" Empire download system" for the website information and online video download site solution. Powerful, easy-to-use, all static pages, a sound program of membership fees, and charges to meet the full free download or demand video Web site
    2023-08-20 05:30:04下载
    积分:1
  • 我们都知道一些键盘事件。今天我做了一个键上下着…
    大家都知道键盘上几个的事件吧。 今天我就作了一个用上下左右键控制图标的小程序,帮助你理解这几个事件。。很好玩的。-we all know several of the keyboard events. Today I made a key up and down around the small icon control procedures to help you understand these events. . Very fun.
    2022-03-05 13:10:43下载
    积分:1
  • 创建自解压文件的程序,通过程序详细的说明了创建自解压问家难得过程和方法。...
    创建自解压文件的程序,通过程序详细的说明了创建自解压问家难得过程和方法。 -create self-extracting files procedure for the adoption of procedures described in detail in the creation of self-extracting rare asked family and processes.
    2023-02-25 05:10:02下载
    积分:1
  • By Chinese Pinyin too. Can achieve all GB
    由汉字得拼音.可以实现所有GB-232中定义的汉字的拼音转换,方便进行数据库设计时进行拼音查找和其他的操作,方便灵活,可以生成全部大写(小写),简单缩写拼音大写(小写),带(不带)分隔符等多种样式的拼音。嵌入式开发时,可作适当的修改。具体可找本人联系 -By Chinese Pinyin too. Can achieve all GB-232 Chinese characters defined in Pinyin conversion, database design, facilitate search, and other alphabet when the operation, convenient and flexible, you can generate all uppercase (lowercase), a simple acronym alphabet uppercase (lowercase) , with (without) delimited a variety of styles Pinyin. Embedded development, it can make appropriate changes. I may be looking for a specific contact
    2022-01-26 00:40:45下载
    积分:1
  • 在权值不同的图中寻找一个最小生成树的问题
    在权值不同的图中寻找一个最小生成树的问题-different weights in the map to find a minimum spanning tree problem
    2022-03-15 19:32:13下载
    积分:1
  • 696516资源总数
  • 106605会员总数
  • 12今日下载