typedef enum _CM_NOTIFY_ACTION {
CM_NOTIFY_ACTION_DEVICEARRIVAL = 0x00000000,
CM_NOTIFY_ACTION_DEVICEQUERYREMOVE= 0x00000001,
CM_NOTIFY_ACTION_DEVICEQUERYREMOVEFAILED = 0x00000002,
CM_NOTIFY_ACTION_DEVICEREMOVEPENDING= 0x00000003,
CM_NOTIFY_ACTION_DEVICEREMOVECOMPLETE = 0x00000004,
CM_NOTIFY_ACTION_DEVICETYPESPECIFIC = 0x00000005,
CM_NOTIFY_ACTION_CUSTOMTYPE = 0x00000006,
CM_NOTIFY_ACTION_DEVICEINSTALLED = 0x00000007,
CM_NOTIFY_ACTION_PROPERTYCHANGE = 0x00000008,
CM_NOTIFY_ACTION_DEVICEADDED = 0x00000009,
CM_NOTIFY_ACTION_ROLECHANGE = 0x0000000A,
CM_NOTIFY_ACTION_INVALID = 0x000000FF
} CM_NOTIFY_ACTION, *PCM_NOTIFY_ACTION;
这个枚举定义了不同的配置管理器通知操作类型,例如设备到达、设备查询移除、设备移除挂起、设备移除完成等。每个操作类型对应一个特定的通知事件,用于通知应用程序或服务系统中设备状态的变化。
请注意,具体的用法和含义可能会取决于使用该枚举的具体上下文和函数。
转载请注明出处:http://www.zyzy.cn/article/detail/24377/Win32 API/Cfgmgr32.h/CM_NOTIFY_ACTION