Share via


IMessageFormHost::FormClosing

The FormClosing method is called by the IMessageForm interface when the form is closing.

Syntax

HRESULT FormClosing (
  IMessageForm * pform,
  IMessage * pMsg,
  eMsgStatus eMsgStat
);

Parameters

  • pform
    [in] Reference to the IMessageForm object.
  • pMsg
    [in] Reference to the IMessage object contained in the form.
  • eMsgStat
    [in] Status of the message, specified by the eMsgStatus enumeration.

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

IMessageFormHost

eMsgStatus

Messaging

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.