Share via


SizedADRLIST

The SizedADRLIST macro defines an ADRLIST structure with the specified name containing a specified number of ADRENTRY structures.

Syntax

SizedADRLIST (_centries, _name)

Parameters

  • _centries
    Count of ADRENTRY structures to be included in the new ADRLIST structure.
  • _name
    Name for the new ADRLIST structure.

Remarks

The SizedADRLIST macro 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 SizedADRLIST macro to an ADRLIST structure pointer:

lpADRList = (LPADRLIST) &SizedADRList; 

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: mapidefs.h
Library: cemapi.lib

See Also

ADRLIST

MAPI Macros

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.