解决使用#include setupapi.h报出错误的问题
2021-01-30 16:16
阅读:658
标签:class 依赖 link har 文件 常用 asi color clu
在使用windows驱动与应用程序进行交互时,可能会用到常用的SetupApi,SetupApi被包含在#include
因为setupapi.h依赖这些头文件:
1 #include// Includes basic windows functionality. 2 #include// Includes the standard i/o functions. 3 #include// Includes the string functions. 4 #include// Includes the string functions. 5 #include// Includes the SetupAPI.
另外还要调用setupapi.lib
1 // Link with SetupAPI.Lib. 2 #pragma comment (lib, "setupapi.lib")
然后就可以正常使用Setup API了。
解决使用#include setupapi.h报出错误的问题
标签:class 依赖 link har 文件 常用 asi color clu
原文地址:https://www.cnblogs.com/acmexyz/p/11647937.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:解决使用#include setupapi.h报出错误的问题
文章链接:http://soscw.com/essay/49162.html
文章标题:解决使用#include setupapi.h报出错误的问题
文章链接:http://soscw.com/essay/49162.html
评论
亲,登录后才可以留言!