Export (0) Print
Expand All

Constants for the Replication API

Office 2007

This topic contains constant definitions, MAPI interface declarations, class identifiers, and interface identifiers for the Replication API.

Constants

The following is a MAPIUID structure identifying a MAPI service provider:

const MAPIUID g_muidProvPrvNST = { 0xE9, 0x2F, 0xEB, 0x75, 0x96, 0x50, 0x44, 0x86, 0x83, 0xB8, 0x7D, 0xE5, 0x22, 0xAA, 0x49, 0x48 };

DNH_OK 0x00010000
DNT_OK 0x00010000
HSF_LOCAL 0x00000008
HSF_COPYDESTRUCTIVE 0x00000010
HSF_OK 0x00010000
MDB_OST_LOGON_UNICODE ((ULONG) 0x00000800)
MDB_OST_LOGON_ANSI ((ULONG) 0x00001000)
SS_ACTIVE0
SS_SUSPENDED1
SYNC_UPLOAD_HIERARCHY0x00000001
SYNC_DOWNLOAD_HIERARCHY 0x00000002
SYNC_UPLOAD_CONTENTS 0x00000040
SYNC_DOWNLOAD_CONTENTS 0x00000080
SYNC_OUTGOING_MAIL 0x00000200
SYNC_BACKGROUND 0x00001000
SYNC_THESE_FOLDERS 0x00020000
SYNC_HEADERS 0x02000000
UPC_OK 0x00010000
UPD_ASSOC0x00000001
UPD_MOV0x00000002
UPD_OK0x00010000
UPD_MOVED0x00020000
UPD_UPDATE0x00040000
UPD_COMMIT0x00080000
UPF_NEW0x00000001
UPF_MOD_PARENT0x00000002
UPF_MOD_PROPS0x00000004
UPF_DEL0x00000008
UPF_OK0x00010000
UPH_OK 0x00010000
UPM_ASSOC0x00000001
UPM_NEW0x00000002
UPM_MOV0x00000004
UPM_MOD_PROPS0x00000008
UPM_HEADER0x00000010
UPM_OK0x00010000
UPM_MOVED0x00020000
UPM_COMMIT0x00040000
UPM_DELETE0x00080000
UPM_SAVE0x00100000
UPR_ASSOC0x00000001
UPR_READ0x00000002
UPR_OK0x00010000
UPR_COMMIT0x00020000
UPS_UPLOAD_ONLY0x00000001
UPS_DNLOAD_ONLY0x00000002
UPS_THESE_FOLDERS0x00000080
UPS_OK0x00010000
UPT_PUBLIC 0x00000001
UPT_OK 0x00010000
UPV_ERROR 0x00010000
UPV_DIRTY 0x00020000
UPV_COMMIT0x00040000

Interface Declarations

For the following definitions, use the DECLARE_MAPI_INTERFACE_PTR macro defined in the common MAPI header file mapidefs.h:

DECLARE_MAPI_INTERFACE_PTR(IExchangeImportHierarchyChanges, PXIHC);

DECLARE_MAPI_INTERFACE_PTR(IExchangeImportContentsChanges, PXICC);

Interface Identifiers

Use the DEFINE_GUID macro defined in the Microsoft Windows Software Development Kit (SDK) header file guiddef.h to associate the GUID symbolic name with its value.

//{4FDEEFF0-0319-11CF-B4CF-00AA0DBBB6E6}

DEFINE_GUID (IID_IPSTX, 0x4FDEEFF0, 0x0319, 0x11CF, 0xB4, 0xCF, 0x00, 0xAA, 0x0D, 0xBB, 0xB6, 0xE6)

//{2067A790-2A45-11D1-EB86-00A0C90DCA6D}

DEFINE_GUID (IID_IPSTX2, 0x2067A790, 0x2A45, 0x11D1, 0xEB, 0x86, 0x00, 0xA0, 0xC9, 0x0D, 0xCA, 0x6D)

//{55f15320-111b-11d2-a999-006008b05aa7}

DEFINE_GUID (IID_IPSTX3, 0x55f15320, 0x111b, 0x11d2, 0xa9, 0x99, 0x00, 0x60, 0x08, 0xb0, 0x5a, 0xa7)

//{aa2e2092-ac08-11d2-a2f9-0060b0ec3d4f}

DEFINE_GUID (IID_IPSTX4, 0xaa2e2092, 0xac08, 0x11d2, 0xa2, 0xf9, 0x00, 0x60, 0xb0, 0xec, 0x3d, 0x4f)

//{55f15322-111b-11d2-a999-006008b05aa7}

DEFINE_GUID (IID_IPSTX5, 0x55f15322, 0x111b, 0x11d2, 0xa9, 0x99, 0x00, 0x60, 0x08, 0xb0, 0x5a, 0xa7)

//{55f15323-111b-11d2-a999-006008b05aa7}

DEFINE_GUID (IID_IPSTX6, 0x55f15323, 0x111b, 0x11d2, 0xa9, 0x99, 0x00, 0x60, 0x08, 0xb0, 0x5a, 0xa7)

//{d2d85db4-840f-49b8-9982-07d2405ec6b7}

DEFINE_GUID (IID_IOSTX, 0xd2d85db4, 0x840f, 0x49b8, 0x99, 0x82, 0x07, 0xd2, 0x40, 0x5e, 0xc6, 0xb7)

Use the two following interface identifiers with IMAPIContainer::OpenEntry, IMAPISession::OpenEntry, or IMsgStore::OpenEntry to open and ignore any provider check on a folder object and a message object, respectively.

//{57D333A0-F589-4b23-A3F9-85F82FEC153C}

DEFINE_GUID (IID_IMAPIFolderNoProvChk, 0x57D333A0, 0xF589, 0x4b23, 0xA3, 0xF9, 0x85, 0xF8, 0x2F, 0xEC, 0x15, 0x3C)

//{C3505457-7B2E-4c3b-A8D6-6DD949BB97A1}

DEFINE_GUID (IID_IMessageNoProvChk, 0xC3505457, 0x7B2E, 0x4c3b, 0xA8, 0xD6, 0x6D, 0xD9, 0x49, 0xBB, 0x97, 0xA1)



Community Additions

ADD
Show:
© 2015 Microsoft