Partager via


IMessageFormHostEx

4/8/2010

The IMessageFormHostEx interface 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 IMessageFormEx object when the form is closing.

IMessageFormHostEx::GetGlobalSetting

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

IMessageFormHostEx::SetGlobalSetting

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

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 Drafts folder.

Nonvirtual Members

IMessageFormHostEx members Description

IMessageFormHostEx::CLOSINGMSGSTATUS

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

IMessageFormHostEx::HOSTACTIONS

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

Remarks

Use IMessageFormHostEx methods 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::CreateComposeForm or IFormProviderEx::CreateReadForm.

IMessageFormHostEx allows the custom form to request that the Messaging Application perform particular actions such as creating a new message in the Drafts folder, 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

Reference

IFormProviderEx::CreateComposeForm
IFormProviderEx::CreateReadForm

Other Resources

MAPI Interfaces
Messaging