NOTIFKEY 

The NOTIFKEY structure uniquely identifies a connection between an advise sink, an advise source, and MAPI. MAPI uses the NOTIFKEY structure for generating notifications to the appropriate advise sink about the appropriate advise source.

Quick Info

Header file:

MAPISPI.H

 

typedef struct

     ULONG     cb;     

     BYTE      ab[MAPI_DIM];

} NOTIFKEY, FAR *LPNOTIFKEY;

 

Members

cb

Count of bytes in the ab member.

ab

Array of bytes describing the notification key.

 

Remarks

Service providers generate notification keys when their Advise method is called and they want to call IMAPISupport::Subscribe12ZZE25 to handle the notification registration and the subsequent sending of notifications. A notification key can be the entry identifier of the advise source or it can be any other identifying item such as a constant. For example, a message store provider might use the path of a folder as its notification key.

The notification key should work across multiple processes.