MAPIOFFLINE_ADVISEINFO

Applies to: Outlook 2013 | Outlook 2016

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

Quick info

See IMAPIOfflineMgr::Advise.

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

Members

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.

See also