IABContainer::GetContentsTable method

Retrieves the address of the contents table of the container.

Syntax

HRESULT GetContentsTable(
   ULONG      ulFlags,
   IMAPITable **lppTable
);

Parameters

ulFlags

Type: ULONG

Value of type ULONG that specifies the bitmask of flags that control how the contents table is retrieved. The following flags can be set:

WAB_LOCAL_CONTAINERS

Retrieves a list of containers that is limited to containers from the local WAB.

WAB_PROFILE_CONTENTS

Retrieves a contents table for all of the containers for the current profile.

lppTable

Type: IMAPITable**

Address of a pointer to a variable of type IMAPITable that receives the table object containing the contents table.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
The contents table was successfully retrieved.
MAPI_E_BAD_CHARWIDTH
Either the MAPI_UNICODE flag was set and the implementation does not support Unicode, or MAPI_UNICODE was not set and the implementation only supports Unicode.
MAPI_E_NO_SUPPORT
The object does not support the requested operation.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Product
Internet Explorer 4.0
Header
Wabtmp.h
DLL
Wab32.dll