Share via


IMessageFormEx::DoAction

The DoAction method is called by Messaging to process the commands (actions) that the plug-in supports.

Syntax

HRESULT DoAction (
  FORMACTIONS actForm,
  DWORD dwValue,
  BOOL * pfProcessed
);

Parameters

  • actForm
    [in] The message form action to execute, specified by the FORMACTIONS enumeration.
  • dwValue
    [in] Not used (Ignored).
  • pfProcessed
    [out] Set to TRUE if the action was performed.

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.

Remarks

When you use FORMACT_MY_TEXT_MESSAGE in actForm, there is no way to determine which message was selected.

Requirements

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

See Also

IMessageFormEx

Messaging

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.