IFormProvider::CreateReadForm

Send Feedback

The CreateReadForm method creates the read message form for displaying the message.

Syntax

HRESULT CreateReadForm (
  IMessageFormHostEx * pHost,
  IMessageFormEx ** ppForm
  LPMESSAGE pmsg,
);

Parameters

  • pHost
    [in] Reference to the IMessageFormHostEx object that allows the form to communicate with Messaging.
  • ppForm
    [out] Reference to the newly created read IMessageFormEx object.
  • pmsg
    [in] Reference to the message object to show.

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: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h
Library: cemapi.lib

See Also

IFormProvider | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.