Qt Windows上USB设备热插拔检测 可用于USB转串口的实时监测

#include <dbt.h> #include <windows.h> private: //UsbConfig usbConfig; char FirstDriveFromMask(ULONG unitmask); protected: bool nativeEvent(const QByteArray &eventType, void *message, long *result
相关文章
相关标签/搜索