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

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)

Unicode and ANSI names

MimeOleParseRfc822AddressW (Unicode)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show: