Constants for the Account Management API
Constants for the Account Management API |
This topic contains constant definitions, class identifiers, and interface identifiers for the Account Management API.
Constants
ACCT_INIT_NOSYNCH_MAPI_ACCTS | 0x00000001 |
E_ACCT_NOT_FOUND | 0x800C8101 |
E_ACCT_WRONG_SORT_ORDER | 0x800C8105 |
E_INVALIDARG | As defined in the Microsoft® Windows® Software Development Kit (SDK) header file winerror.h. |
E_NOTIMPL | As defined in the Windows SDK header file winerror.h. |
E_OLK_ALREADY_INITIALIZED | 0x800C8002 |
E_OLK_NOT_INITIALIZED | 0x800C8005 |
E_OLK_PARAM_NOT_SUPPORTED | 0x800C8003 |
E_OLK_PROP_READ_ONLY | 0x800C800D |
E_OLK_REGISTRY | 0x800C8001 |
MAPIACCT_SEND_ONLY | 0x00000001 |
MNID_ID | As defined in the Windows SDK header file mapidefs.h. |
NOTIFY_ACCT_CHANGED | 1 |
NOTIFY_ACCT_CREATED | 2 |
NOTIFY_ACCT_DELETED | 3 |
NOTIFY_ACCT_ORDER_CHANGED | 4 |
NOTIFY_ACCT_PREDELETED | 5 |
OLK_ACCOUNT_NO_FLAGS | 0 |
PT_BINARY | As defined in the Windows SDK header file mapidefs.h |
PT_LONG | As defined in the Windows SDK header file mapidefs.h |
PT_UNICODE | As defined in the Windows SDK header file mapidefs.h |
S_OK | As defined in the Windows SDK header file winerror.h. |
S_FALSE | As defined in the Windows SDK header file winerror.h. |
Definitions for Named Properties
|
Definitions for Namespaces
The following globally unique identifiers (GUIDs) represent the namespaces of named properties.
|
Class Identifiers
Use the DEFINE_GUID macro defined in the Windows SDK header file guiddef.h to associate the GUID symbolic name with its value.
//{ed475410-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkAccountManager, 0xed475410, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{ed475411-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkPOP3Account, 0xed475411, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{ed475412-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkIMAP4Account, 0xed475412, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{ed475414-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkMAPIAccount, 0xed475414, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{ed475418-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkMail, 0xed475418, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{ed475419-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkAddressBook, 0xed475419, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{ed475420-b0d6-11d2-8c3b-00104b2a6676}
DEFINE_GUID(CLSID_OlkStore, 0xed475420, 0xb0d6, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{4db5cbf0-3b77-4852-bc8e-bb81908861f3}
DEFINE_GUID(CLSID_OlkHotmailAccount, 0x4db5cbf0, 0x3b77, 0x4852, 0xbc, 0x8e, 0xbb, 0x81, 0x90, 0x88, 0x61, 0xf3);
//{4db5cbf2-3b77-4852-bc8e-bb81908861f3}
DEFINE_GUID(CLSID_OlkLDAPAccount, 0x4db5cbf2, 0x3b77, 0x4852, 0xbc, 0x8e, 0xbb, 0x81, 0x90, 0x88, 0x61, 0xf3);
Interface Identifiers
Use the DEFINE_GUID macro defined in the Platform SDK header file guiddef.h to associate the GUID symbolic name with its value.
//{9240A6C0-AF41-11d2-8C3B-00104B2A6676}
DEFINE_GUID(IID_IOlkErrorUnknown, 0x9240a6c0, 0xaf41, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{9240A6C1-AF41-11d2-8C3B-00104B2A6676 }
DEFINE_GUID(IID_IOlkEnum, 0x9240a6c0, 0xaf41, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{9240a6c3-af41-11d2-8c3b-00104b2a6676}
DEFINE_GUID(IID_IOlkAccountNotify, 0x9240a6c3, 0xaf41, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{9240a6cb-af41-11d2-8c3b-00104b2a6676}
DEFINE_GUID(IID_IOlkAccountHelper, 0x9240a6cb, 0xaf41, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{9240a6cd-af41-11d2-8c3b-00104b2a6676}
DEFINE_GUID(IID_IOlkAccountManager, 0x9240a6cd, 0xaf41, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);
//{9240a6d2-af41-11d2-8c3b-00104b2a6676}
DEFINE_GUID(IID_IOlkAccount, 0x9240a6d2, 0xaf41, 0x11d2, 0x8c, 0x3b, 0x0, 0x10, 0x4b, 0x2a, 0x66, 0x76);