Constants for the Offline State API [Outlook 2003 API Reference]

This topic contains constant definitions, class identifiers, and interface identifiers for the Offline State API.

Constants

E_INVALIDARG As defined in the Microsoft® Platform Software Development Kit (SDK) header file winerror.h
E_NOINTERFACE As defined in the Microsoft Platform (SDK) header file winerror.h
MAPIOFFLINE_ADVISE_DEFAULT (ULONG)0
MAPIOFFLINE_UNADVISE_DEFAULT (ULONG)0
MAPIOFFLINE_ADVISE_TYPE_STATECHANGE 1
MAPIOFFLINE_CAPABILITY_OFFLINE 0x1
MAPIOFFLINE_CAPABILITY_ONLINE 0x2
MAPIOFFLINE_FLAG_BLOCK 0x00002000
MAPIOFFLINE_FLAG_DEFAULT 0x00000000

MAPIOFFLINE_STATE_ALL 0x003f037f

Online or offline
MAPIOFFLINE_STATE_OFFLINE_MASK 0x00000003
MAPIOFFLINE_STATE_OFFLINE 0x00000001
MAPIOFFLINE_STATE_ONLINE 0x00000002

Class Identifiers

For class identifiers, assume the DEFINE_GUID macro defined in the Platform SDK header file guiddef.h to associate the GUID symbolic name with its value.

//{fbeffd93-b11f-4094-842b-96dcd31e63d1}

DEFINE_GUID(GUID_GlobalState , 0xfbeffd93, 0xb11f, 0x4094, 0x84, 0x2b, 0x96, 0xdc, 0xd3, 0x1e, 0x63, 0xd1);

Interface Identifiers

For interface identifiers, assume the DEFINE_GUID macro defined in the Platform SDK header file guiddef.h to associate the GUID symbolic name with its value.

//{000672B5-0000-0000-c000-000000000046}

DEFINE_GUID(IID_IMAPIOffline, 0x000672B5, 0x0000, 0x0000, 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46);

//{0317bde5-fc29-44cd-8dcd-36125a3be9ec}

DEFINE_GUID(IID_IMAPIOfflineNotify, 0x0317bde5, 0xfc29, 0x44cd, 0x8d, 0xcd, 0x36, 0x12, 0x5a, 0x3b, 0xe9, 0xec);

//{42175607-ff3e-4790-bc18-66c8643e6424 }

DEFINE_GUID(IID_IMAPIOfflineMgr, 0x42175607, 0xFF3E, 0x4790, 0xbc, 0x18, 0x66, 0xc8, 0x64, 0x3e, 0x64, 0x24);