代码 :
NewDeviceInfoSet = SetupDiGetClassDevsEx(InterfaceClassGuid, NULL, NULL, DIGCF_PRESENT | DIGCF_PRESENT, NULL, NULL); NewDeviceInfoSet = SetupDiGetClass
NewDeviceInfoSet = SetupDiGetClassDevsEx(InterfaceClassGuid, NULL, NULL, DIGCF_PRESENT | DIGCF_PRESENT, NULL, NULL); NewDeviceInfoSet = SetupDiGetClass