Share via


MailDisplayMessage

4/8/2010

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 Value

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

Header cemapi.h
Library cemapi.lib
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

MAPI Functions

Other Resources

Messaging