SizedADRLIST

Last modified: July 23, 2011

Applies to: Outlook

Defines an ADRLIST structure with the specified name that contains a specified number of ADRENTRY structures.

Header file:

Mapidefs.h

Related structure:

ADRLIST

SizedADRLIST (_centries,_name)

_centries

Count of ADRENTRY structures to be included in the new ADRLIST structure.

_name

Name for the new ADRLIST structure.

The SizedADRLIST macro lets you define a recipient list that has explicit bounds when array length requirements are known. The following code shows how to cast the result of the SizedADRLIST macro to an ADRLIST structure pointer:

lpADRList = (LPADRLIST) &SizedADRList;

Show: