mapidefs.h File Reference

Macros

#define ATTACH_BY_REF_ONLY   4
 
#define ATTACH_BY_REF_RESOLVE   3
 
#define ATTACH_BY_REFERENCE   2
 
#define ATTACH_BY_VALUE   1
 
#define ATTACH_EMBEDDED_MSG   5
 
#define ATTACH_OLE   6
 
#define BUSY_STATUS_BUSY   2
 
#define BUSY_STATUS_FREE   0
 
#define BUSY_STATUS_OUTOFOFFICE   3
 
#define BUSY_STATUS_TENTATIVE   1
 
#define DT_ADDRESS_TEMPLATE   0x102
 
#define DT_AGENT   0x3
 
#define DT_CONTAINER   0x100
 
#define DT_DISTLIST   0x1
 
#define DT_FORUM   0x2
 
#define DT_MAILUSER   0x0
 
#define DT_ORGANIZATION   0x4
 
#define DT_PRIVATE_DISTLIST   0x5
 
#define DT_REMOTE_MAILUSER   0x6
 
#define DT_SEARCH   0x200
 
#define DT_TEMPLATE   0x101
 
#define EDITOR_FORMAT_HTML   2
 
#define EDITOR_FORMAT_PLAINTEXT   1
 
#define EDITOR_FORMAT_RTF   3
 
#define FORCE_SAVE   0x0C
 
#define FREEBUSY_FOLDER   "EX:/o=%s/ou=%s"
 
#define FREEBUSY_USER   "USER-/CN=RECIPIENTS/CN=%s"
 
#define IMPORTANCE_HIGH   2
 
#define IMPORTANCE_LOW   0
 
#define IMPORTANCE_NORMAL   1
 
#define IPF_APPOINTMENT   "IPF.Appointment"
 
#define IPF_CONTACT   "IPF.Contact"
 
#define IPF_JOURNAL   "IPF.Journal"
 
#define IPF_NOTE   "IPF.Note"
 
#define IPF_POST   "IPF.Post"
 
#define IPF_STICKYNOTE   "IPF.StickyNote"
 
#define IPF_TASK   "IPF.Task"
 
#define KEEP_OPEN_READONLY   0x09
 
#define KEEP_OPEN_READWRITE   0x0A
 
#define MAPI_ABCONT   0x4 /* Address Book Container */
 
#define MAPI_ADDRBOOK   0x2 /* Address Book */
 
#define MAPI_AMBIGUOUS   0x1
 
#define MAPI_ATTACH   0x7 /* Attachment */
 
#define MAPI_COMPOUND   0x80
 
#define MAPI_CREATE   0x2
 
#define MAPI_DISTLIST   0x8 /* Distribution List Recipient */
 
#define MAPI_FOLDER   0x3 /* Folder */
 
#define MAPI_FORMINFO   0xC /* Form Information */
 
#define MAPI_MAILUSER   0x6 /* Individual Recipient */
 
#define MAPI_MESSAGE   0x5 /* Message */
 
#define MAPI_MODIFY   0x1
 
#define MAPI_NOTRECIP   0x40
 
#define MAPI_NOTRESERVED   0x08
 
#define MAPI_NOW   0x10
 
#define MAPI_PROFSECT   0x9 /* Profile Section */
 
#define MAPI_PROPS_SKIP_NAMEDID_CHECK   0x00000001
 
#define MAPI_RESOLVED   0x2
 
#define MAPI_SESSION   0xB /* Session */
 
#define MAPI_SHORTTERM   0x80
 
#define MAPI_STATUS   0xA /* Status Object */
 
#define MAPI_STORE   0x1 /* Message Store */
 
#define MAPI_THISSESSION   0x20
 
#define MAPI_UNICODE   0x80000000
 
#define MAPI_UNRESOLVED   0x0
 
#define MEETING_STATUS_MEETING   1
 
#define MEETING_STATUS_NONMEETING   0
 
#define MID_BEGINNING_OF_TABLE   0x0
 
#define MID_CURRENT   0x1
 
#define MID_END_OF_TABLE   0x2
 
#define MV_FLAG   0x1000
 
#define NO_ATTACHMENT   0
 
#define olBlue   0
 
#define olDelegatedTask   1
 
#define olEditorHTML   2
 
#define olEditorRTF   3
 
#define olEditorText   1
 
#define olEditorWord   4
 
#define olFolderCalendar   9
 
#define olFolderCommonView   8
 
#define olFolderConflicts   19
 
#define olFolderContacts   10
 
#define olFolderDeletedItems   3
 
#define olFolderDrafts   16
 
#define olFolderFinder   24
 
#define olFolderInbox   6
 
#define olFolderJournal   11
 
#define olFolderJunk   23
 
#define olFolderLocalFailures   21
 
#define olFolderMailboxRoot   0
 
#define olFolderNotes   12
 
#define olFolderOutbox   4
 
#define olFolderPublicEFormsRegistry   31
 
#define olFolderPublicEFormsRoot   28
 
#define olFolderPublicFreeBusyRoot   29
 
#define olFolderPublicIPMSubtree   26
 
#define olFolderPublicLocalFreeBusy   32
 
#define olFolderPublicLocalOfflineAB   33
 
#define olFolderPublicNNTPArticle   34
 
#define olFolderPublicNonIPMSubtree   27
 
#define olFolderPublicOfflineAB   30
 
#define olFolderPublicRoot   25
 
#define olFolderSentMail   5
 
#define olFolderServerFailures   22
 
#define olFolderSyncIssues   20
 
#define olFolderTasks   13
 
#define olFolderTopInformationStore   1
 
#define olGreen   1
 
#define olNewTask   0
 
#define olOwnTask   2
 
#define olPink   2
 
#define olPublicFoldersAllPublicFolders   18
 
#define olTaskComplete   2
 
#define olTaskDeferred   4
 
#define olTaskInProgress   1
 
#define olTaskNotStarted   0
 
#define olTaskWaiting   3
 
#define olWhite   4
 
#define olYellow   3
 
#define PRIORITY_HIGH   1
 
#define PRIORITY_LOW   -1
 
#define PRIORITY_NORMAL   0
 
#define PROP_TAG(type, id)   (((id << 16))| (type))
 
#define PS_INTERNET_HEADERS   "00020386-0000-0000-c000-000000000046"
 
#define PS_MAPI   "00020328-0000-0000-c000-000000000046"
 
#define PS_PUBLIC_STRINGS   "00020329-0000-0000-c000-000000000046"
 
#define PS_UNKNOWN_0006200b_0000_0000_c000_000000000046   "0006200b-0000-0000-c000-000000000046"
 
#define PSETID_Address   "00062004-0000-0000-c000-000000000046"
 
#define PSETID_AirSync   "71035549-0739-4dcb-9163-00f0580dbbdf"
 
#define PSETID_Appointment   "00062002-0000-0000-c000-000000000046"
 
#define PSETID_Appointment2   "02200600-0000-0000-c000-000000000046"
 
#define PSETID_Attachment   "96357f7f-59e1-47d0-99a7-46515c183b54"
 
#define PSETID_CalendarAssistant   "11000e07-b51b-40d6-af21-caa85edab1d0"
 
#define PSETID_Common   "00062008-0000-0000-c000-000000000046"
 
#define PSETID_Log   "0006200a-0000-0000-c000-000000000046"
 
#define PSETID_Meeting   "6ed8da90-450b-101b-98da-00aa003f1305"
 
#define PSETID_Messaging   "41f28f13-83f4-4114-a584-eedb5a6b0bff"
 
#define PSETID_Note   "0006200e-0000-0000-c000-000000000046"
 
#define PSETID_PostRss   "00062041-0000-0000-c000-000000000046"
 
#define PSETID_Remote   "00062014-0000-0000-c000-000000000046"
 
#define PSETID_Report   "00062013-0000-0000-c000-000000000046"
 
#define PSETID_Sharing   "00062040-0000-0000-c000-000000000046"
 
#define PSETID_Task   "00062003-0000-0000-c000-000000000046"
 
#define PSETID_UnifiedMessaging   "4442858e-a9e3-4e80-b900-317a210cc15b"
 
#define PT_ACTIONS   0xFE
 
#define PT_APPTIME   0x7
 
#define PT_BINARY   0x102
 
#define PT_BOOLEAN   0xb
 
#define PT_CLSID   0x48
 
#define PT_CURRENCY   0x6
 
#define PT_DOUBLE   0x5
 
#define PT_ERROR   0xa
 
#define PT_FLOAT   0x4
 
#define PT_I2   0x2
 
#define PT_I8   0x14
 
#define PT_LONG   0x3
 
#define PT_MV_APPTIME   (MV_FLAG | PT_APPTIME)
 
#define PT_MV_BINARY   (MV_FLAG | PT_BINARY)
 
#define PT_MV_CLSID   (MV_FLAG | PT_CLSID)
 
#define PT_MV_CURRENCY   (MV_FLAG | PT_CURRENCY)
 
#define PT_MV_DOUBLE   (MV_FLAG | PT_DOUBLE)
 
#define PT_MV_FLOAT   (MV_FLAG | PT_FLOAT)
 
#define PT_MV_I8   (MV_FLAG | PT_I8)
 
#define PT_MV_LONG   (MV_FLAG | PT_LONG)
 
#define PT_MV_SHORT   (MV_FLAG | PT_SHORT)
 
#define PT_MV_STRING8   (MV_FLAG | PT_STRING8)
 
#define PT_MV_SYSTIME   (MV_FLAG | PT_SYSTIME)
 
#define PT_MV_UNICODE   (MV_FLAG | PT_UNICODE)
 
#define PT_NULL   0x1
 
#define PT_OBJECT   0xd
 
#define PT_SHORT   0x2
 
#define PT_SRESTRICT   0xFD
 
#define PT_STRING8   0x1e
 
#define PT_SVREID   0xFB
 
#define PT_SYSTIME   0x40
 
#define PT_UNICODE   0x1f
 
#define PT_UNSPECIFIED   0x0
 
#define RES_AND   0
 
#define RES_BITMASK   6
 
#define RES_COMMENT   10
 
#define RES_COMPAREPROPS   5
 
#define RES_CONTENT   3
 
#define RES_EXIST   8
 
#define RES_NOT   2
 
#define RES_OR   1
 
#define RES_PROPERTY   4
 
#define RES_SIZE   7
 
#define RES_SUBRESTRICTION   9
 
#define TABLE_CUR   0x1
 
#define TABLE_START   0x0
 

Macro Definition Documentation

#define ATTACH_BY_REF_ONLY   4
#define ATTACH_BY_REF_RESOLVE   3
#define ATTACH_BY_REFERENCE   2
#define ATTACH_BY_VALUE   1
#define ATTACH_EMBEDDED_MSG   5
#define ATTACH_OLE   6
#define BUSY_STATUS_BUSY   2
#define BUSY_STATUS_FREE   0
#define BUSY_STATUS_OUTOFOFFICE   3
#define BUSY_STATUS_TENTATIVE   1
#define DT_ADDRESS_TEMPLATE   0x102
#define DT_AGENT   0x3
#define DT_CONTAINER   0x100
#define DT_DISTLIST   0x1
#define DT_FORUM   0x2
#define DT_MAILUSER   0x0
#define DT_ORGANIZATION   0x4
#define DT_PRIVATE_DISTLIST   0x5
#define DT_REMOTE_MAILUSER   0x6
#define DT_SEARCH   0x200
#define DT_TEMPLATE   0x101
#define EDITOR_FORMAT_HTML   2
#define EDITOR_FORMAT_PLAINTEXT   1
#define EDITOR_FORMAT_RTF   3
#define FORCE_SAVE   0x0C
#define FREEBUSY_FOLDER   "EX:/o=%s/ou=%s"

Referenced by GetUserFreeBusyData().

#define FREEBUSY_USER   "USER-/CN=RECIPIENTS/CN=%s"

Referenced by GetUserFreeBusyData().

#define IMPORTANCE_HIGH   2

Referenced by get_importance().

#define IMPORTANCE_LOW   0

Referenced by get_importance().

#define IMPORTANCE_NORMAL   1

Referenced by get_importance().

#define IPF_APPOINTMENT   "IPF.Appointment"
#define IPF_CONTACT   "IPF.Contact"
#define IPF_JOURNAL   "IPF.Journal"
#define IPF_NOTE   "IPF.Note"
#define IPF_POST   "IPF.Post"
#define IPF_STICKYNOTE   "IPF.StickyNote"
#define IPF_TASK   "IPF.Task"
#define KEEP_OPEN_READONLY   0x09
#define KEEP_OPEN_READWRITE   0x0A
#define MAPI_ABCONT   0x4 /* Address Book Container */
#define MAPI_ADDRBOOK   0x2 /* Address Book */
#define MAPI_AMBIGUOUS   0x1

Referenced by mapidump_Recipients().

#define MAPI_ATTACH   0x7 /* Attachment */
#define MAPI_COMPOUND   0x80
#define MAPI_CREATE   0x2
#define MAPI_DISTLIST   0x8 /* Distribution List Recipient */
#define MAPI_FOLDER   0x3 /* Folder */
#define MAPI_FORMINFO   0xC /* Form Information */
#define MAPI_MAILUSER   0x6 /* Individual Recipient */
#define MAPI_MESSAGE   0x5 /* Message */
#define MAPI_MODIFY   0x1
#define MAPI_NOTRECIP   0x40
#define MAPI_NOTRESERVED   0x08
#define MAPI_NOW   0x10
#define MAPI_PROFSECT   0x9 /* Profile Section */
#define MAPI_PROPS_SKIP_NAMEDID_CHECK   0x00000001
#define MAPI_SESSION   0xB /* Session */
#define MAPI_SHORTTERM   0x80
#define MAPI_STATUS   0xA /* Status Object */
#define MAPI_STORE   0x1 /* Message Store */
#define MAPI_THISSESSION   0x20
#define MAPI_UNICODE   0x80000000
#define MAPI_UNRESOLVED   0x0

Referenced by mapidump_Recipients().

#define MEETING_STATUS_MEETING   1
#define MEETING_STATUS_NONMEETING   0
#define MID_BEGINNING_OF_TABLE   0x0
#define MID_CURRENT   0x1
#define MID_END_OF_TABLE   0x2
#define MV_FLAG   0x1000

Referenced by mapi_copy_spropvalues().

#define NO_ATTACHMENT   0
#define olBlue   0
#define olDelegatedTask   1
#define olEditorHTML   2

Referenced by GetBestBody().

#define olEditorRTF   3

Referenced by GetBestBody().

#define olEditorText   1

Referenced by GetBestBody().

#define olEditorWord   4
#define olFolderCalendar   9
#define olFolderCommonView   8
#define olFolderConflicts   19
#define olFolderContacts   10
#define olFolderDeletedItems   3
#define olFolderDrafts   16
#define olFolderFinder   24
#define olFolderInbox   6
Examples:
fetchmail.c.

Referenced by GetDefaultFolder(), and IsMailboxFolder().

#define olFolderJournal   11
#define olFolderJunk   23
#define olFolderLocalFailures   21
#define olFolderMailboxRoot   0

Referenced by GetDefaultFolder().

#define olFolderNotes   12
#define olFolderOutbox   4
#define olFolderPublicEFormsRegistry   31
#define olFolderPublicEFormsRoot   28
#define olFolderPublicFreeBusyRoot   29
#define olFolderPublicIPMSubtree   26
#define olFolderPublicLocalFreeBusy   32
#define olFolderPublicLocalOfflineAB   33
#define olFolderPublicNNTPArticle   34
#define olFolderPublicNonIPMSubtree   27
#define olFolderPublicOfflineAB   30
#define olFolderPublicRoot   25
#define olFolderSentMail   5
#define olFolderServerFailures   22
#define olFolderSyncIssues   20
#define olFolderTasks   13
#define olFolderTopInformationStore   1
#define olGreen   1
#define olNewTask   0
#define olOwnTask   2
#define olPink   2
#define olPublicFoldersAllPublicFolders   18
#define olTaskComplete   2

Referenced by get_task_status(), and mapidump_task().

#define olTaskDeferred   4

Referenced by get_task_status().

#define olTaskInProgress   1

Referenced by get_task_status().

#define olTaskNotStarted   0

Referenced by get_task_status().

#define olTaskWaiting   3

Referenced by get_task_status().

#define olWhite   4
#define olYellow   3
#define PRIORITY_HIGH   1
#define PRIORITY_LOW   -1
#define PRIORITY_NORMAL   0
#define PROP_TAG (   type,
  id 
)    (((id << 16))| (type))
#define PS_INTERNET_HEADERS   "00020386-0000-0000-c000-000000000046"
#define PS_MAPI   "00020328-0000-0000-c000-000000000046"
#define PS_PUBLIC_STRINGS   "00020329-0000-0000-c000-000000000046"
#define PS_UNKNOWN_0006200b_0000_0000_c000_000000000046   "0006200b-0000-0000-c000-000000000046"
#define PSETID_Address   "00062004-0000-0000-c000-000000000046"
#define PSETID_AirSync   "71035549-0739-4dcb-9163-00f0580dbbdf"
#define PSETID_Appointment   "00062002-0000-0000-c000-000000000046"
#define PSETID_Appointment2   "02200600-0000-0000-c000-000000000046"
#define PSETID_Attachment   "96357f7f-59e1-47d0-99a7-46515c183b54"
#define PSETID_CalendarAssistant   "11000e07-b51b-40d6-af21-caa85edab1d0"
#define PSETID_Common   "00062008-0000-0000-c000-000000000046"
#define PSETID_Log   "0006200a-0000-0000-c000-000000000046"
#define PSETID_Meeting   "6ed8da90-450b-101b-98da-00aa003f1305"
#define PSETID_Messaging   "41f28f13-83f4-4114-a584-eedb5a6b0bff"
#define PSETID_Note   "0006200e-0000-0000-c000-000000000046"
#define PSETID_PostRss   "00062041-0000-0000-c000-000000000046"
#define PSETID_Remote   "00062014-0000-0000-c000-000000000046"
#define PSETID_Report   "00062013-0000-0000-c000-000000000046"
#define PSETID_Sharing   "00062040-0000-0000-c000-000000000046"
#define PSETID_Task   "00062003-0000-0000-c000-000000000046"
#define PSETID_UnifiedMessaging   "4442858e-a9e3-4e80-b900-317a210cc15b"
#define PT_ACTIONS   0xFE
#define PT_APPTIME   0x7
#define PT_CURRENCY   0x6
#define PT_FLOAT   0x4
#define PT_MV_APPTIME   (MV_FLAG | PT_APPTIME)
#define PT_MV_CURRENCY   (MV_FLAG | PT_CURRENCY)
#define PT_MV_DOUBLE   (MV_FLAG | PT_DOUBLE)
#define PT_MV_FLOAT   (MV_FLAG | PT_FLOAT)
#define PT_MV_I8   (MV_FLAG | PT_I8)
#define PT_OBJECT   0xd
#define PT_SRESTRICT   0xFD
#define PT_UNSPECIFIED   0x0

Referenced by GetIDsFromNames().

#define RES_AND   0
#define RES_BITMASK   6
#define RES_COMMENT   10
#define RES_COMPAREPROPS   5
#define RES_CONTENT   3
#define RES_EXIST   8
#define RES_NOT   2
#define RES_OR   1
#define RES_SIZE   7
#define RES_SUBRESTRICTION   9
#define TABLE_CUR   0x1
#define TABLE_START   0x0

Referenced by GetGALTable().


Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/