MAPIOFFLINE_ADVISEINFO

Office 2013 and later

Last modified: July 23, 2011

Applies to: Outlook

Provides information to IMAPIOfflineMgr::Advise to register callback for an offline object.

See IMAPIOfflineMgr::Advise.

typedef struct 
{ 
      ULONG                   ulSize; 
      ULONG                   ulClientToken; 
      MAPIOFFLINE_CALLBACK_TYPE     CallbackType; 
      IUnknown*               pCallback; 
      ULONG                   ulAdviseTypes; 
      ULONG                   ulStateMask; 
} MAPIOFFLINE_ADVISEINFO;

ulSize

The size of MAPIOFFLINE_ADVISEINFO.

ulClientToken

A token defined by the client about a callback. It is the ulClientToken member of the MAPIOFFLINE_NOTIFY structure passed to IMAPIOfflineNotify::Notify.

CallbackType

Type of callback to make.

  • MAPIOFFLINE_CALLBACK_TYPE_NOTIFY

    • The type of callback is by notification. This is the only supported type of callback. pCallback must indicate the interface IMAPIOfflineNotify.

pCallback

Interface to use for callback. This is the client's implementation of IMAPIOfflineNotify.

ulAdviseTypes

The types of advise, as identified by the condition for advising. The only supported type is MAPIOFFLINE_ADVISE_TYPE_STATECHANGE.

ulStateMask

The only supported state is MAPIOFFLINE_STATE_ALL.

Show: