Share via


IMessageFormEx::SetMessage

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 Values

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

Pocket PC: Windows Mobile 2003 and later
OS Versions: Windows CE .NET 4.2 and later
Header: cemapi.h
Library: cemapi.lib

See Also

IFormProviderEx::FORMTYPE

IMessageFormEx

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.