Share via


MAPI Functions (Compact 7)

3/12/2014

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

Function Description

FreeProws

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

HrGetOneProp (deprecated)

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 (deprecated)

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.

The following functions are deprecated.

Function Description

HrGetOneProp (deprecated)

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.

See Also

Reference

Messaging API (CE MAPI) Reference
MAPI Macros

Other Resources

Messaging API (CE MAPI)