Windows Embedded CE-based Device Notification (Windows Embedded CE 6.0)

1/6/2010

In addition to supporting notification for the desktop computer-based application, Windows Embedded CE supports the Notification API, which allows applications on the Windows Embedded CE-based device to receive connection notification.

CeRunAppAtEvent provides Windows Embedded CEā€“based applications with the ability to be notified when a connection or other event occurs. When the event occurs, applications registered by CeRunAppAtEvent are launched. For example, events include connecting a Windows Embedded CE-based device to a desktop, when restoring an operating system from a backup, or changing the system time.

The function is prototyped as follows.

BOOL CeRunAppAtEvent (TCHAR *pwszAppName, LONG lWhichEvent);

The first parameter gives the name of the application to be launched. The second parameter is a set of bit flags that indicate which events you want to track.

See Also

Concepts

Handling Connection Notification