IMAPIOfflineMgr::Unadvise
Applies to: Outlook 2013 | Outlook 2016
Cancels callbacks for an offline object.
HRESULT COfflineObj::Unadvise(
ULONG ulFlags,
ULONG ulAdviseToken
);
Parameters
ulFlags
[in] Flags for canceling callback. Only the value MAPIOFFLINE_UNADVISE_DEFAULT is supported.
ulAdviseToken
[in] An advise token that identifies the callback registration that is to be canceled.
Return value
S_OK
The call was successful. This call must return S_OK.
Remarks
Removes the registration for the callback that was associated with ulAdviseToken returned from a prior call to IMAPIOfflineMgr::Advise. Causes the IMAPIOfflineMgr object to release its reference on the IMAPIOfflineNotify object associated with ulAdviseToken.