Share via


IMessageForm::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 IFormProvider::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

Smartphone: Windows Mobile 2002
OS Versions: Windows CE 3.0
Header: cemapi.h
Library: cemapi.lib

See Also

IMessageForm

Messaging

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.