IMAPIOfflineMgr::Unadvise [Outlook 2003 API Reference]

Cancels callbacks for an offline object.

Quick Info

See IMAPIOfflineMgr.

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.

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.

Return Values

S_OK

The call was successful. This call must return S_OK.

See Also

Constants for the Offline State API

IMAPIOfflineMgr::Advise