USB的prefix是COM,Order是0.. 而三串口的注册表项里,prefix是COM,Order是0,都是一样的,三串口的注册表项如下: [HKEY_LOCAL_MACHINEDriversBuiltInSER2440] "DeviceArrayIndex"=dword:0 "Irq"=dword:03 "IoBase"=dword:50000000 "IoLen"=dword:2C "Prefix"="COM" "Dll"="SER2440.Dll" "Order"=dword:0 "Index"=dword:1 "Priority"=dword:0 "Port"="COM1:" "DeviceType"=dword:0 "FriendlyName"="Serial Cable on COM1" "Tsp"="Unimodem.dll" "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
[HKEY_LOCAL_MACHINEDriversBuiltInSER2440_2] "DeviceArrayIndex"=dword:1 "Irq"=dword:17 "IoBase"=dword:50004000 "IoLen"=dword:2C "Prefix"="COM" "Dll"="SER2440.Dll" "Order"=dword:0 "Index"=dword:2 "Priority"=dword:0 "Port"="COM2:" "DeviceType"=dword:0 "FriendlyName"="Serial Cable on COM2" "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
[HKEY_LOCAL_MACHINEDriversBuiltInSER2440_3] "DeviceArrayIndex"=dword:2 "Irq"=dword:09 "IoBase"=dword:50008000 "IoLen"=dword:2C "Prefix"="COM" "Dll"="SER2440.Dll" "Order"=dword:0 "Index"=dword:3 "Priority"=dword:0 "Port"="COM3:" "DeviceType"=dword:0 "FriendlyName"="Serial Cable on COM3" "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00 |