Export (0) Print
Expand All

MAPI Functions

Windows Mobile 6.5
4/8/2010

This section provides details about the Windows Mobile Messaging API (CE MAPI) functions.

Function Description

FormFactory

Returns a reference to the IFormProvider interface, allowing the Messaging Application to create the plug-in's custom Read and Compose forms. For Pocket PC 2002 and Smartphone 2002 only.

FormFactoryEx

Returns a reference to the IFormProviderEx interface, allowing the Messaging Application to create the plug-in's custom read and compose forms. For Windows Mobile 2003 and later.

FreeProws

Destroys an SRowSet structure and frees associated memory, including memory allocated for all member arrays and structures.

HrGetOneProp

Retrieves the value of a single property from an object that support properties, such as an IAttach, a IMAPIContainer, a IMAPIFolder, a IMessage, or IMsgStore.

HrSetOneProp

Sets or modifies the value of a single property from an object that support properties, such as an IAttach, a IMAPIContainer, a IMAPIFolder, a IMessage, or IMsgStore.

MailComposeMessage

Displays a Compose message form.

MailDisplayMessage

Displays an existing message.

MailLaunchNewAccountWizard

Launches the Messaging application and invokes the New Account Wizard.

MailSwitchToAccount

Switches to the specified account.

MailSwitchToFolder

Switches to a folder, and displays it in a List View.

MailSyncMessages

Synchronizes the messages in the specified account.

MAPIAllocateBuffer

Allocates a memory buffer.

MAPIAllocateMore

Allocates a memory buffer that is linked to another memory buffer that has been previously allocated with the MAPIAllocateBuffer function.

MAPIFreeBuffer

Frees a memory buffer that has been allocated with a call to either the MAPIAllocateBuffer or the MAPIAllocateMore functions.

MAPIInitialize

Increments the CE MAPI subsystem reference count, and initializes global data for the CE MAPI COM Server (Cemapi.dll).

MAPILogonEx

Logs a client application onto a session with the messaging system.

MAPIUninitialize

Decrements the reference count, cleans up, and deletes per-instance global data for the CE MAPI COM Server (Cemapi.dll).

OneStopFactory

Called by the Messaging Application to create an instance of a custom transport, and get a reference to the IMailSyncHandler interface object for the transport.

Community Additions

ADD
Show:
© 2014 Microsoft