Export (0) Print
Expand All

MAPIOFFLINE_ADVISEINFO [Outlook 2003 API Reference]

Office 2003

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

About the Offline State API
Constants for the Offline State API
IMAPIOfflineMgr::Advise
MAPIOFFLINE_CALLBACK_TYPE


Show:
© 2015 Microsoft