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 codeDescription
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

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

Library

Inetcomm.lib

DLL

Inetcomm.dll (version 6.0 or later)

See Also

MimeOleParseRfc822AddressW

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show: