Platform SDK: MAPI |
The EXTENDED_NOTIFICATION structure describes information relating to an event that is service provider-specific.
Header file: | MAPIDEFS.H |
typedef struct _EXTENDED_NOTIFICATION { ULONG ulEvent; ULONG cb; LPBYTE pbEventParameters; } EXTENDED_NOTIFICATION;
The EXTENDED_NOTIFICATION structure is one of the members of the union of structures included in the info member of the NOTIFICATION structure. When the info member of a NOTIFICATION structure contains an EXTENDED_NOTIFICATION structure, the ulEventType member of the NOTIFICATION structure is set to fnevExtended.
The extended event is defined by a service provider to represent a type of change that cannot be covered by any of the other predefined events. Only clients that know before they register that a service provider supports an extended event can register for that event. It is not possible for clients to determine without advanced knowledge if a service provider supports an extended event and, if it does, how to handle such an event when it is received.
An extended notification is sent by the session when a client logs off. Register for this notification by calling IMAPISession::Advise with the lpEntryID parameter set to NULL and the cbEntryID parameter set to zero.
For more information about notification, see the topics described in the following table.
Topic | Description |
---|---|
Event Notification in MAPI | General overview of notification and notification events. |
Handling Notifications | Discussion of how clients should handle notifications. |
Supporting Event Notification | Discussion of how service providers can use the IMAPISupport method to generate notifications. |