Export (0) Print
Expand All

IFormProviderEx::GetMsgStatusIconIndex

Windows Mobile 6.5
4/8/2010

The GetMsgStatusIconIndex method returns the index to the appropriate icon in the symbol bitmap for the form library.


HRESULT GetMsgStatusIconIndex (
  LPMAPIFOLDER pfldr,
  LPENTRYID pid,
  ULONG cbid,
  ULONG ffFlags,
  ULONG ffStatus,
  LPCWSTR pszMsgClass,
  ULONG cAttachments,
  ULONG * pnIndex
);

pfldr

[in] Reference to the folder for the message, specified by IMAPIFolder.

pid

[in] Reference to the ID of the message, specified by the ENTRYID structure.

cbid

[in] Count of bytes for the ID of the message.

ffFlags

[in] Flags for the message. See PR_MESSAGE_FLAGS for possible values.

ffStatus

[in] Status of the message. See PR_MSG_STATUS for possible values.

pszMsgClass

[in] Reference to the message class of the message.

cAttachments

[in] Number of attachments for the message.

pnIndex

[out] Reference to the index for the correct icon.

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

S_OK

Indicates success.

Headercemapi.h
Librarycemapi.lib
Windows Embedded CEWindows CE .NET 4.2 and later
Windows MobilePocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

Reference

IFormProviderEx

Other Resources

Messaging

Community Additions

ADD
Show:
© 2014 Microsoft