Share via


IMimePropertySet::EnumProps method

Enumerates the properties in the property set.

Syntax

HRESULT EnumProps(
  [in]  DWORD               dwFlags,
  [out] IMimeEnumProperties **ppEnum
);

Parameters

dwFlags [in]

Type: DWORD

Specifies a bitmask that indicates how the enumerator works.

Value Meaning
EPF_NONAME
0x00000001
Indicates that the pszName field is not needed when enumerating the properties using the IMimeEnumProperties.

ppEnum [out]

Type: IMimeEnumProperties**

Receives the address of a pointer to the IMimeEnumProperties object.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that ppEnum is NULL.
E_OUTOFMEMORY
Indicates that 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)