IMimeAddressTable::GetProps method

Gets the properties for the specified address.

Syntax

HRESULT GetProps(
  [in] HADDRESS       hAddress,
  [in] LPADDRESSPROPS pAddress
);

Parameters

hAddress [in]

Type: HADDRESS

Specifies the handle of the address.

pAddress [in]

Type: LPADDRESSPROPS

Specifies a pointer to the ADDRESSPROPS structure that contains the address properties. The client is responsible for freeing this structure by calling FreeAddressProps.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an unknown error has occurred.
E_INVALIDARG
Indicates that pAddress is NULL.
MIME_E_INVALID_HANDLE
Indicates that hAddress is an invalid address handle.
E_OUTOFMEMORY
Indicates that an attempt to allocate memory failed.

Remarks

The client should initialize pAddress->dwProps before calling this method to specify which properties to return.

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
DLL
Inetcomm.dll (version 6.0 or later)