Chapter 11: Notifications

One area in which Microsoft Windows CE exceeds the Windows XP API is the notification interface. Windows CE applications can register to be launched at a predetermined time or when any of a set of system events occur. Applications can also register a user notification. In a user notification, the system notifies the user at a specific time without the application itself being launched at that time.The notification interface is based on only a handful of functions, the most important of which is CeSetUserNotificationEx. This omnibus function provides all the functionality to schedule any of the three types of notifications: user, system, and timer. CeSetUserNotificationEx replaced three separate functions—CeSetUserNotification, CeRunAppAtEvent, and CeRunAppAtTime—which essentially have slightly less functionality.