Platform SDK: Exchange Server

HrMAPICreateSizedAddressList

The HrMAPICreateSizedAddressList function creates a sized address list.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPICreateSizedAddressList(
  ULONG cEntries,         
  LPADRLIST * lppAdrList  
);
 

Parameters

cEntries
Input parameter. Count of entries in address list.
lppAdrList
Input/output parameter. Points to a MAPI ADRLIST structure containing the address where the address list is stored.

Return Values

See Return Values.

Remarks

For an example of how to use this function, see the HrExpandMessageAddressList function call in ADDRESS.C under the GWSAMPLE code sample in the Code Samples folder.

For information on the ADRLIST structure, see the MAPI Programmer's Reference.

See Also

HrMAPIAppendAddressList, HrMAPICreateAddressList, HrMAPISetAddressList