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

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

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

  • 用汇编写的农历公历转换程序,直接写成dll。
    用汇编写的农历公历转换程序,直接写成dll。-was compiled with the Lunar calendar converter, direct written dll.
    2022-02-05 15:02:32下载
    积分:1
  • 一个选修课的作业
    一个选修课的作业-an optional practice
    2022-11-20 12:10:03下载
    积分:1
  • widestudio 编程程序员手册,内容详细,容易上手
    widestudio 编程程序员手册,内容详细,容易上手-Programming widestudio programmers manual, detailed and easy to use
    2023-01-17 23:10:03下载
    积分:1
  • 基于WAP的手机无线应用
    基于WAP的手机无线应用-WAP-based mobile wireless applications
    2022-03-06 05:51:38下载
    积分:1
  • 蝴蝶在自然界
    butterfly on nature-butterfly on nature
    2022-05-20 14:12:55下载
    积分:1
  • CE 6.0平台使用酷派风格标题栏、菜单、按钮等控件的例子(C++)...
    CE 6.0平台使用酷派风格标题栏、菜单、按钮等控件的例子(C++)-CE 6.0 platform, using the Cool-style title bar, menus, buttons, etc. Examples of the control (C++)
    2022-02-22 12:59:56下载
    积分:1
  • 基于qt的打地鼠小游戏
    打地鼠小游戏,,可直接运行,源代码齐全一大群历不明的老鼠入侵你的农场。作为一个奶酪农场的老板,现在是时候站和保卫你的家。现在,只有你可以阻止那些贪婪的老鼠。来测试下你的反应速度够不够快!
    2023-08-16 02:00:07下载
    积分:1
  • 德尔福 com 端口读写帮手
    帮助为 com 端口sue delphi ,使用两个线程读取和写入 com 端口
    2022-03-22 13:07:47下载
    积分:1
  • This lab consists of two parts: 1. A preparatory case study with a standard Kal...
    Start with the runlocalization track.m which is the entrance function to your lab. This function reads two les determined by simout le and map le input arguments which contain information about sensor readings and the map of the environment respectively, runs a loop for all the sensor readings and calls the ekf localize.m to perform one iteration of EKF localization on the readings and plots the estimation(red)/ground truth(green) and odometry(blue) information.-This lab consists of two parts: 1. A preparatory case study with a standard Kalman lter where you learn more about the behavior of the Kalman lter. Very little extra code is needed. 2. The main lab 1 problem in which you need to complete an implementation of an Extended Kalman lter based robot localization.
    2022-11-09 03:30:03下载
    积分:1
  • 用于查看二进制文件的小工具 用MFC编写
    用于查看二进制文件的小工具 用MFC编写-Binary file for viewing with a small tool for the preparation of MFC
    2022-03-13 18:50:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载