ADDRESSPROPS structure

Do not use. Holds information about a message sender or recipient for example, a message address.

Syntax

typedef struct tagADDRESSPROPS {
  DWORD        dwProps;
  HADDRESS     hAddress;
  ENCODINGTYPE ietFriendly;
  HCHARSET     hCharset;
  DWORD        dwAdrType;
  LPSTR        pszFriendly;
  LPWSTR       pszFriendlyW;
  LPSTR        pszEmail;
  CERTSTATE    certstate;
  THUMBBLOB    tbSigning;
  THUMBBLOB    tbEncryption;
  DWORD        dwCookie;
  DWORD        dwReserved1;
  DWORD        dwReserved2;
} ADDRESSPROPS, *LPADDRESSPROPS;

Members

dwProps

Type: DWORD

Contains a bitmask that indicates the valid fields in this structure.

Value Meaning
IAP_CHARSET
0x00000001
Indicates that hCharset is valid.
IAP_HANDLE
0x00000002
Indicates that hAddress is valid.
IAP_ADRTYPE
0x00000004
Indicates that dwAdrType is valid.
IAP_FRIENDLYA
0x00000008
Indicates that pszFriendly is valid.
IAP_EMAIL
0x00000020
Indicates that pszEmail is valid.
IAP_CERTSTATE
0x00000100
Indicates that certstate is valid.
IAP_SIGNING_PRINT
0x00000200
Indicates that tbSigning is valid.
IAP_ENCRYPTION_PRINT
0x00000400
Indicates that tbEncryption is valid.
IAP_ENCODING
0x00000800
Indicates that ietFriendly is valid.
IAP_COOKIE
0x00001000
Indicates that dwCookie is valid.
IAP_FRIENDLYW
0x00002000
Indicates that pszFriendlyW is valid.
IAP_ALL
0xffffffff
Indicates that all the fields of this structure are valid.

hAddress

Type: HADDRESS

Contains the handle of this address in the IMimeAddressTable. (IAP_HANDLE)

ietFriendly

Type: ENCODINGTYPE

Contains the encoding type of the friendly name. (IAP_ENCODING)

hCharset

Type: HCHARSET

Contains the character set for the friendly name. (IAP_CHARSET)

dwAdrType

Type: DWORD

Contains a bitmask that indicates the type of address. (IAP_ADRTYPE)

Value Meaning
IAT_UNKNOWN
0x00000000
Indicates an unknown address type.
IAT_FROM
0x00000001
Indicates the From address header.
IAT_SENDER
0x00000002
Indicates the Sender address header.
IAT_TO
0x00000004
Indicates the To address header.
IAT_CC
0x00000008
Indicates the CC address header.
IAT_BCC
0x00000010
Indicates the BCC address header.
IAT_REPLYTO
0x00000020
Indicates the Reply-To address header.
IAT_RETURNPATH
0x00000040
Indicates the Return-Path address header.
IAT_RETRCPTTO
0x00000080
Indicates the Return-Receipt address header.
IAT_RR
0x00000100
IAT_APPARTO
0x00000200
Indicates the Apparently-To address header.
IAT_DISP_NOTIFICATION_TO
0x00000400
IAT_ALL
0xFFFFFFFF
Indicates all address types.
IAT_KNOWN
(IAT_FROM | IAT_TO | IAT_CC | IAT_BCC | IAT_REPLYTO | IAT_SENDER)
Indicates the From, To, CC, BCC, Reply-To, or Sender address headers.
IAT_RECIPS
(IAT_TO | IAT_CC | IAT_BCC)
Indicates the To, CC, or BCC address headers.

pszFriendly

Type: LPSTR

Contains the friendly name of the address. (IAP_FRIENDLY)

pszFriendlyW

Type: LPWSTR

Contains the wide character friendly name of the address. (IAP_FRIENDLYW)

pszEmail

Type: LPSTR

Contains the email address. (IAP_EMAIL)

certstate

Type: CERTSTATE

Contains the certificate state. (IAP_CERTSTATE)

tbSigning

Type: THUMBBLOB

Contains the thumbprint to be used for signing. (IAP_SIGNING_PRINT)

tbEncryption

Type: THUMBBLOB

Contains the thumbprint to be used for encryption. (IAP_ENCRYPTION_PRINT)

dwCookie

Type: DWORD

Do not use. (IAP_COOKIE)

dwReserved1

Type: DWORD

Do not use.

dwReserved2

Type: DWORD

Do not use.

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
IDL
Mimeole.idl