Share via


IMAPIOfflineMgr::Unadvise

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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.

See Also

Reference

IMAPIOfflineMgr::Advise

Concepts

MAPI Constants