Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The MailDisplayMessagefunction displays an existing message.

Syntax

HRESULT MailDisplayMessage(
  LPENTRYID 
lpEntryID,
  ULONG 
cbEntryID
);

Parameters

lpEntryID

[in] Reference to the ENTRYIDof 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