Partager via


IMimeMessageParts::EnumParts method

Creates an IMimeEnumMessageParts object that can be used to enumerate the partial messages in the collection.

Syntax

HRESULT EnumParts(
  [out] IMimeEnumMessageParts **ppEnum
);

Parameters

ppEnum [out]

Type: IMimeEnumMessageParts**

Receives the address of a pointer to the IMimeEnumMessageParts object.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that ppEnum is NULL.
E_OUTOFMEMORY
Indicates an attempt to allocate memory failed.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Mimeole.h
IDL
Mimeole.idl
DLL
Inetcomm.dll (version 6.0 or later)