Share via


MailDisplayMessage (Compact 7)

3/12/2014

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

See Also

Reference

MAPI Functions