Platform SDK: MAPI |
The IAddrBook::Unadvise method cancels a notification registration previously established for an address book entry.
HRESULT Unadvise( ULONG ulConnection );
Clients call the IAddrBook::Unadvise method to stop receiving notifications about changes to a particular address book entry. When a notification registration is canceled, the address book provider releases its pointer to the caller's advise sink. However, the release can occur during the Unadvise call or at some later point, if another thread is in the process of calling IMAPIAdviseSink::OnNotify. When a notification is in progress, the release is delayed until the OnNotify method returns.