Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The SizedADRLISTmacro defines an ADRLISTstructure with the specified name containing a specified number of ADRENTRYstructures.

Syntax

SizedADRLIST (
_centries, 
_name)

Parameters

_centries

Count of ADRENTRYstructures to be included in the new ADRLISTstructure.

_name

Name for the new ADRLISTstructure.

Remarks

The SizedADRLISTmacro provides a way to define a recipient list with explicit bounds when array length requirements are known. The following code shows how to cast the result of the SizedADRLISTmacro to an ADRLISTstructure pointer:

Copy Code
lpADRList = (LPADRLIST) &SizedADRList; 

Requirements

Header mapidefs.h
Library cemapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

ADRLIST
MAPI Macros

Other Resources

Messaging