MAPI Functions
This section provides detailed information about the Windows Mobile-based Messaging API (MAPI) function.
Function | PPC | SP | Description |
---|---|---|---|
FormFactory | X | X | Returns a reference to the IFormProvider interface, allowing Messaging to create the plug-in's custom read and compose forms. For Pocket PC 2002 and Smartphone 2002 only. |
FormFactoryEx | X | X | Returns a reference to the IFormProviderEx interface, allowing Messaging to create the plug-in's custom read and compose forms. For Windows Mobile 2003 and later. |
FreeProws | X | X | Destroys an SRowSet structure and frees associated memory, including memory allocated for all member arrays and structures. |
HrGetOneProp | X | X | Retrieves the value of a single property from an object that support properties, such as an e-mail attachment, a MAPI container, a MAPI folder, a message, or a message store. |
HrSetOneProp | X | X | Sets or modifies the value of a single property on an object that support properties, such as an e-mail attachment, a MAPI container, a MAPI folder, a message, or a message store. |
MailComposeMessage | X | X | Displays a compose message form. |
MailDisplayMessage | X | X | Displays an existing message. |
MailSwitchToAccount | X | X | Switches to the specified account. |
MailSwitchToFolder | X | X | Switches to a folder and displays it in listview. |
MailSyncMessages | X | X | Synchronizes the messages within the specified account. |
MAPIAllocateBuffer | X | X | Allocates a memory buffer. |
MAPIAllocateMore | X | X | Allocates a memory buffer that is linked to another buffer previously allocated with the MAPIAllocateBuffer function. |
MAPIFreeBuffer | X | X | Frees a memory buffer allocated with a call to the MAPIAllocateBuffer function or the MAPIAllocateMore function. |
MAPIInitialize | X | X | Increments the MAPI subsystem reference count and initializes global data for the MAPI DLL. |
MAPILogonEx | X | X | Logs a client application on to a session with the messaging system. |
MAPIUninitialize | X | X | Decrements the reference count, cleans up, and deletes per-instance global data for the MAPI DLL. |
OneStopFactory | X | X | Called by Messaging to create an instance of a custom transport and get the IMailSyncHandler interface for the transport. |
See Also
MAPI Data Types | | MAPI Enumerations | MAPI Interfaces | MAPI Macros | MAPI Properties | MAPI Structures | Messaging
Send Feedback on this topic to the authors