MimeOleParseRfc822Address function

Do not use. Parses the specified address string (on success).

Syntax

HRESULT MimeOleParseRfc822Address(
  _In_  DWORD         dwAdrType,
  _In_  ENCODINGTYPE  ietEncoding,
  _In_  LPCSTR        pszRfc822Adr,
  _Out_ LPADDRESSLIST pList
);

Parameters

dwAdrType [in]

Type: DWORD

Specifies a single IAT_xxx bitmask that indicates the address type being parsed or an address type created by the RegisterAddressType method. See ADDRESSPROPS for the list of bitmask values.

ietEncoding [in]

Type: ENCODINGTYPE

Specifies the ENCODINGTYPE value.

pszRfc822Adr [in]

Type: LPCSTR

Specifies the LPCSTR that contains the RFC 822 address string to parse.

pList [out]

Type: LPADDRESSLIST

Receives a pointer to an ADDRESSLIST structure that contains the list of parsed addresses. The client is responsible for freeing this structure by calling FreeAddressList.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pszRfc822Adr or pList 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
Library
Inetcomm.lib
DLL
Inetcomm.dll (version 6.0 or later)

See also

MimeOleParseRfc822AddressW