Share via


IFormProvider::GetMsgStatusIconIndex

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

Syntax

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

Parameters

  • pfldr
    [in] Reference to the folder for the message.
  • pid
    [in] Reference to the ID of the message.
  • cbid
    [in] Count of bytes for the ID.
  • ffFlags
    [in] Flags for the message.
  • ffStatus
    [in] Status of the message.
  • 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 symbol.

Return Values

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

  • S_OK
    Indicates success.

Requirements

Pocket PC: Windows Mobile 2002
OS Versions: Windows CE 3.0
Header: cemapi.h
Library: cemapi.lib

See Also

IFormProvider

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.