Partager via


IAddrBook : IMAPIProp

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Supports access to the MAPI address book and includes operations such as displaying common dialog boxes; opening containers, messaging users, and distribution lists; and performing name resolution.

Header file:

Mapix.h

Exposed by:

Address book objects

Implemented by:

MAPI

Called by:

Client applications, service providers

Interface identifier:

IID_IAddrBook

Pointer type:

LPADRBOOK

Transaction model:

Not writable

Vtable Order

OpenEntry

Opens an address book entry and returns a pointer to an interface that can be used to access the entry.

CompareEntryIDs

Compares two entry identifiers that belong to a particular address book provider to determine whether they refer to the same address book object.

Advise

Registers a client or service provider to receive notifications about changes to one or more entries in the address book.

Unadvise

Cancels a notification registration previously established for an address book entry.

CreateOneOff

Creates an entry identifier for a one-off address.

NewEntry

Adds a new recipient to an address book container or to the recipient list of an outgoing message.

ResolveName

Performs name resolution, assigning entry identifiers to recipients in a recipient list.

Address

Displays the Outlook address book dialog box.

Details

Displays a dialog box that shows details about a particular address book entry.

RecipOptions

Displays a dialog box that shows the recipient option properties.

QueryDefaultRecipOpt

Returns the recipient options that have been set for a particular address type by the transport provider.

GetPAB

Returns the entry identifier of the container that is designated as the personal address book (PAB).

SetPAB

Designates a particular container as the personal address book (PAB).

GetDefaultDir

Returns the entry identifier for the initial address book container.

SetDefaultDir

Establishes the specified container as the default address book container that is initially made available.

GetSearchPath

Returns an ordered list of entry identifiers of the containers to be included in the name resolution process initiated by the ResolveName method.

SetSearchPath

Sets a new search path in the profile that is used for the name resolution process.

PrepareRecips

Prepares a recipient list for later use by the messaging system.

See Also

Concepts

MAPI Interfaces