Platform SDK: MAPI |
The OBJECT_NOTIFICATION structure contains information about an object that has undergone a change, such as being copied or modified.
Header file: | MAPIDEFS.H |
typedef struct _OBJECT_NOTIFICATION { ULONG cbEntryID; LPENTRYID lpEntryID; ULONG ulObjType; ULONG cbParentID; LPENTRYID lpParentID; ULONG cbOldID; LPENTRYID lpOldID; ULONG cbOldParentID; LPENTRYID lpOldParentID; LPSPropTagArray lpPropTagArray; } OBJECT_NOTIFICATION;
The OBJECT_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 OBJECT_NOTIFICATION structure, the ulEventType member of the NOTIFICATION structure is set to one of the following types of events:
fnevObjectCreated
fnevObjectModified
fnevObjectDeleted
fnevObjectMoved
fnevObjectCopied
fnevSearchComplete
The search complete event, represented by the fnevSearchComplete event type, indicates that the initial search of the domain for one search folder has completed.
The members that contain information about the original object, cbOldID, lpOldID, cbOldParentID, and lpOldParentID, are used only in move and copy events. These members do not apply to the other types of events.
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. |