IMimeAddressTable::EnumTypes method
Enumerates a group of addresses that match the specified set of address types.
Syntax
HRESULT EnumTypes(
[in] DWORD dwAdrTypes,
[in] DWORD dwProps,
[out] IMimeEnumAddressTypes **ppEnum
);
Parameters
-
dwAdrTypes [in]
-
Type: DWORD
Specifies an IAT_xxx bitmask (see ADDRESSPROPS for the list of bitmask values) that indicates the types of addresses to enumerate. The bitmask may also include values for addresses types created by the RegisterAddressType method.
-
dwProps [in]
-
Type: DWORD
Specifies an IAP_xxx bitmask (see ADDRESSPROPS for the list of bitmask values) that specifies which properties to return in each ADDRESSPROPS structure in a call to Next.
-
ppEnum [out]
-
Type: IMimeEnumAddressTypes**
Receives the address of a pointer to a IMimeEnumAddressTypes object. The client is responsible for releasing this object.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that an unknown error has occurred. |
|
Indicates that ppEnum is NULL. |
|
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 |
|
IDL |
|
DLL |
|