CeSetUserNotificationEx

This function creates a new user notification or modifies an existing one.

At a Glance

Header file: Notify.h
Windows CE versions: 2.12 and later

Syntax

HANDLE CeSetUserNotificationEx (HANDLE hNotification,
CE_NOTIFICATION_TRIGGER *pcnt,
CE_USER_NOTIFICATION *pceun);

Parameters

hNotification

[in] Handle to the notification to overwrite or 0 to add a new notification.

pcnt

[in] Pointer to a UserNotificationTrigger structure which defines what event activates a notification.

pceun

[in] Pointer to a UserNotificationType structure, which defines how the system should respond when a notification occurs. For example, the system could launch a dialog box or another application.

Return Values

Returns a handle to the notification event if successful. Returns NULL if unsuccessful.