Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The IMessageFormHostExinterface creates composing and reading Message Forms.

Note:
Do not implement this interface. It is exposed by the Messaging Application, and you call into it only as necessary.

Methods in Vtable Order

IMessageFormHostEx methods Description

IMessageFormHostEx::FormClosing

Called by the IMessageFormExobject when the form is closing.

IMessageFormHostEx::GetGlobalSetting

Gets the value of the global setting from Messaging, returned in an SPropValuestructure.

IMessageFormHostEx::SetGlobalSetting

Sets the value of the global setting for Messaging, contained in an SPropValuestructure.

IMessageFormHostEx::DoAction

Used to request that the Messaging Application perform a specific action for the plug-in.

IMessageFormHostEx::CreateNewMessage

Creates a new message in the Draftsfolder.

Nonvirtual Members

IMessageFormHostEx members Description

IMessageFormHostEx::CLOSINGMSGSTATUS

Enumeration used by IMessageFormHostEx::FormClosingto indicate how to close a message form.

IMessageFormHostEx::HOSTACTIONS

Enumeration used by IMessageFormHostEx::DoActionto indicate the action for the Messaging Application to perform for a plug-in.

Remarks

Use IMessageFormHostExmethods when you want your Messaging plug-in to communicate with the Messaging Application.

This interface is provided by the Messaging Application when it calls IFormProviderEx::CreateComposeFormor IFormProviderEx::CreateReadForm.

IMessageFormHostExallows the custom form to request that the Messaging Application perform particular actions such as creating a new message in the Draftsfolder, or handling messages that are not handled by the custom form.

Requirements

Header cemapi.h
Library cemapi.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

See Also