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

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

于 2022-10-02 发布 文件大小:286.01 kB
0 189
下载积分: 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 个回复

  • 超链接的应用小工具
    资源描述早期做的一个应用程序小工具,双击.exe到指定的网页,如百度等;静态编译,直接下载到电脑就可以使用
    2022-07-03 04:53:15下载
    积分:1
  • Delphi
    windows 下dephi 驱动模拟-Delphi-driven simulation under windows
    2022-04-29 13:11:38下载
    积分:1
  • C++ based on the P2P real
    基于c++的P2P的实时对话系统,欢迎大家下载-C++ based on the P2P real-time dialogue system, welcomed everyone to download! ! Thanks! !
    2022-08-04 10:50:07下载
    积分:1
  • CS Cpu Monitor 2.0.0源代码.zip
    CS Cpu Monitor 2.0.0源代码.zip-CS Monitor 2.0.0 instant source code. Zip
    2022-01-25 22:00:12下载
    积分:1
  • 众兴最新代码,原理阐述清晰,每一步都有图说明。本人就是看了这个文档才真正搞明白的,以前因为没有图片一直不清楚中间过程效果-Adtech latest development code, the p
    众兴最新开发代码,原理阐述清晰,每一步都有图说明。本人就是看了这个文档才真正搞明白的,以前因为没有图片一直不清楚中间过程效果-Adtech latest development code, the principle expounded clearly illustrates every step. I just read this document truly understood, previously been unclear because there is no picture effect intermediate process
    2022-05-15 14:20:10下载
    积分:1
  • 编程语言特别版
    C++程序设计语言特别版-C Programming Language Special Edition
    2022-01-27 19:57:47下载
    积分:1
  • 仓库管理
    源码描述: 一、源码特点        1.、应用DBML作为数据驱动连接,想学习DBML的可以学习        2、采用MVC开发模式,MVC应用是基于vs2010项目模版开发 二、菜单功能        业务说明:        1、实现商品库存的入出存        2、实现入出存数据导出到EXCEL 三、注意事项       1、开发环境为Visual Studio 2010,数据库为SQLServer2008,使用.net 4.0开发。       2、管理员登陆名密码均为:51aspx       3、默认数据库连接字符串在webconfig配置文件中修改       4、DB_51aspx文件夹中是数据库文件,附加即可
    2022-08-11 12:05:08下载
    积分:1
  • assembly language to achieve four
    汇编语言实现四字节数据的开方,使用的四逼近法,我是新手,请各位大侠指点-assembly language to achieve four-byte data on the prescribing and use of the four approximation, I greenhorn, please heroes guidance
    2023-01-19 17:15:04下载
    积分:1
  • 北大oj上3653源代码,希望对大家有用
    北大oj上3653源代码,希望对大家有用-3653 North oj on the source code, in the hope that useful to everybody
    2023-08-10 18:25:02下载
    积分:1
  • 这是MSDN里面带的程序例子,用来检查Win95或者98下面某一个进程的菜单资源的使用情况。...
    这是MSDN里面带的程序例子,用来检查Win95或者98下面某一个进程的菜单资源的使用情况。-inside with the procedures example, used to check Win95 or 98 below a menu of a process of the use of resources.
    2022-03-26 08:07:34下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载