- // CommKitEvents.h - 事件类型定义
- // 与 CommModifyService/CommWrapperBase.h::CommEventType 数值对齐
- // 驱动上抛事件时使用这些常量,DLL 转发给上层 TOnData 的 Irp 参数
- #pragma once
- #define COMMKIT_OP_NONE 0 // 无事件
- #define COMMKIT_OP_OPEN 1 // 串口打开/开始监控
- #define COMMKIT_OP_READ 2 // 读取到数据
- #define COMMKIT_OP_WRITE 3 // 写入数据
- #define COMMKIT_OP_CLOSE 4 // 串口关闭/停止监控
|