MAPI Constants
This section provides detailed information about the Windows Mobile-based Messaging API (MAPI) constants described in the following table.
Constant type | Description |
---|---|
MAPI Boolean Service Capability Constants | These constants represent capabilities supported by a transport. The messaging application can query the tranport for, and set these capabilities. |
MAPI Configuration Service Provider Constants | These constants specify the amount of message body to download. They are used by Configuration Service Providers. |
MAPI Context Constants | These constants indicate which menu commands are disabled, and are used as values for the PR_CE_CONTEXT_FLAGS message property tag. |
MAPI Delete Option Constants | These constants indicate the delete options used during synchronization operations. They are used with the kszCapDeleteAction boolean service capability constant. |
MAPI Error Codes | These constants are the error codes that MAPI functions can generate. |
MAPI Mail Sync Progress Constants | These constants are combined to form a bitmask that indicates which fields in the SYNCPROGRESSITEM structure contain valid data. |
MAPI Mail Sync Request Constants | These constants indicate the type of action performed in a synchronize operation. They are mutially exclusive (that is, cannot be combined with bitwise OR to form a bitmask) and are used in the ffFlags member of the MAILSYNCREQUEST structure. |
MAPI Maximum Constants | These constants indicate the maximum number of bytes for MAPI Message Class names. |
MAPI Menu Item Constants | The following table contains all the possible constants that can be combined to create the IMessageFormEx::GetMenuCapabilities members: dwFlags and pdwEnable. Each constant represents one menu item that can appear on the menu bar. |
MAPI Message Field Constants | These constants indicate either the type of transport to use, or the action to perform on the message. They can be combined with bitwise OR to form a bitmask, and are used in the flags member of the MESSAGEFIELDS structure. |
MAPI Property Data Types | These constants represent the possible types of property values. These are specified in the Value member of the SPropValue structure. |
MAPI Service Size Constants | These constants represent the maximum number of supported services, and the maximum size for any one of those services. |
MAPI Special Folder Constants | These constants indicate which of the Special Folder types is supported. They are used in the ffFlags member of the FOLDERNODE structure, which describes an e-mail folder node. |
See Also
Send Feedback on this topic to the authors