admin管理员组文章数量:1130349
-
CreateFile("COM" + 1->255) as suggested by Wael Dalloul
✔ Found com0com ports, took 234ms. -
QueryDosDevice()
✔ Found com0com ports, took 0ms. -
GetDefaultCommConfig("COM" + 1->255)
✔ Found com0com ports, took 235ms. -
"SetupAPI1" using calls to SETUPAPI.DLL
✔ Found com0com ports, also reported "friendly names", took 15ms. -
"SetupAPI2" using calls to SETUPAPI.DLL
✘ Did not find com0com ports, reported "friendly names", took 32ms. -
EnumPorts()
✘ Reported some non-COM ports, did not find com0com ports, took 15ms. -
Using WMI calls
✔ Found com0com ports, also reported "friendly names", took 47ms. -
COM Database using calls to MSPORTS.DLL
✔/✘ Reported some non-COM ports, found com0com ports, took 16ms. -
Iterate over registry key HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM
✔ Found com0com ports, took 0ms.
-
CreateFile("COM" + 1->255) as suggested by Wael Dalloul
✔ Found com0com ports, took 234ms. -
QueryDosDevice()
✔ Found com0com ports, took 0ms. -
GetDefaultCommConfig("COM" + 1->255)
✔ Found com0com ports, took 235ms. -
"SetupAPI1" using calls to SETUPAPI.DLL
✔ Found com0com ports, also reported "friendly names", took 15ms. -
"SetupAPI2" using calls to SETUPAPI.DLL
✘ Did not find com0com ports, reported "friendly names", took 32ms. -
EnumPorts()
✘ Reported some non-COM ports, did not find com0com ports, took 15ms. -
Using WMI calls
✔ Found com0com ports, also reported "friendly names", took 47ms. -
COM Database using calls to MSPORTS.DLL
✔/✘ Reported some non-COM ports, found com0com ports, took 16ms. -
Iterate over registry key HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM
✔ Found com0com ports, took 0ms.
版权声明:本文标题:Windows枚举出系统中所有的串口的9种方法 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1733515990a1197478.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论