MimeOleParseRfc822AddressW function

Do not use. Parses the specified RFC 822 address string.

Syntax

HRESULT MimeOleParseRfc822AddressW(
  _In_  DWORD         dwAdrType,
  _In_  LPCWSTR       pwszRfc822Adr,
  _Out_ LPADDRESSLIST pList
);

Parameters

dwAdrType [in]

Type: DWORD

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

pwszRfc822Adr [in]

Type: LPCWSTR

Specifies the LPCWSTR 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 pwszRfc822Adr 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)
Unicode and ANSI names
MimeOleParseRfc822AddressW (Unicode)