IMAPIContainer : IMAPIProp

The IMAPIContainer interface manages high-level operations on container objects such as address books, distribution lists, and folders. The IMAPIFolder, IABContainer, and IDistList interfaces are derived from IMAPIContainer.

Quick Info

Header file: MAPIDEFS.H
Exposed by: Folder, address book container, and distribution list objects
Implemented by: Message store, address book, and remote transport providers
Called by: Client applications
Interface identifier: IID_IMAPIContainer
Pointer type: LPMAPICONTAINER
Transaction model: Abstract class, never implemented

Vtable Order

GetContentsTable Returns a pointer to the container's contents table.
GetHierarchyTable Returns a pointer to the container's hierarchy table.
OpenEntry Opens an object within the container, returning an interface pointer for further access.
SetSearchCriteria Establishes search criteria for the container.
GetSearchCriteria Obtains the search criteria for the container.

Required properties Access
PR_CONTAINER_HIERARCHY Read-only
PR_CONTAINER_CONTENTS Read-only
PR_CONTAINER_FLAGS Read/write