如何枚举系统COM串口

CRegKey RegKey; int nCount = 0; //系统COM端口的注册表信息就在该目录下。 if(RegKey.Open(HKEY_LOCAL_MACHINE, "Hardware\\DeviceMap\\SerialComm") == ERROR_SUCCESS) { while(true) {
相关文章
相关标签/搜索