Share via


IDistList::GetContentsTable method

Retrieves the address of the contents table of the distribution list.

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:

MAPI_DEFERRED_ERRORS

Not supported by the WAB.

MAPI_UNICODE

Indicates that wide strings are to be retrieved.

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.

Remarks

The MAPI_UNICODE flag is not supported in the first version of the WAB.

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