starnet 阅读(822) 评论(0)

WinCE的一些系统事件备忘

DWORD
that specifies the type of event if dwType is CNT_EVENT. The following table shows the possible values.

Value Description
NOTIFICATION_EVENT_DEVICE_CHANGE A PC Card device changed.
NOTIFICATION_EVENT_INTERNET_PROXY_CHANGE The Internet Proxy used by the device has changed.
NOTIFICATION_EVENT_IR_DISCOVERED The device discovered a server by using infrared communications.
NOTIFICATION_EVENT_NET_CONNECT The device connected to a network.
NOTIFICATION_EVENT_NET_DISCONNECT The device disconnected from a network.
NOTIFICATION_EVENT_NONE No events occurred. Remove all event registrations for this application.
NOTIFICATION_EVENT_OFF_AC_POWER The user turned the alternating current (AC) power off.
NOTIFICATION_EVENT_ON_AC_POWER The user turned the AC power on.
NOTIFICATION_EVENT_RESTORE_END A full device data restore completed.
NOTIFICATION_EVENT_RNDIS_FN_DETECTED RNDISFN interface is instantiated.
NOTIFICATION_EVENT_RS232_DETECTED An RS232 connection was made.
NOTIFICATION_EVENT_SYNC_END Data synchronization finished.
NOTIFICATION_EVENT_TIME_CHANGE The system time changed.
NOTIFICATION_EVENT_TZ_CHANGE The time zone changed.
NOTIFICATION_EVENT_WAKEUP The device woke up.

发表评论
切换编辑模式