MailDisplayMessage

Send Feedback

The MailDisplayMessage function displays an existing message.

Syntax

HRESULT MailDisplayMessage(
  LPENTRYID lpEntryID,
  ULONG cbEntryID
);

Parameters

  • lpEntryID
    [in] Reference to the ENTRYID of the existing message to display in listview.
  • cbEntryID
    [in] Size in bytes of the ENTRYID.

Return Values

This function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The call succeeded.

Remarks

If there is no message with the specified ENTRYID, this function returns an error. This function is asynchronous.

Requirements

Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later
Header: cemapi.h
Library: cemapi.lib

See Also

MAPI Functions | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.