IMessageFormEx::SetMessage
4/8/2010
The SetMessage method is called by Messaging to set the form to display a new message.
Syntax
HRESULT SetMessage (
WORD wType,
LPMESSAGE pmsg
);
Parameters
- wType
[in] The IFormProviderEx::FORMTYPE enumeration value that indicates the type of message.
- pmsg
[in] The new message that the form should be set to display.
Return Value
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
Indicates success.
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::FORMTYPE
IMessageFormEx