Partager via


SizedSPropTagArray (Compact 7)

3/12/2014

The SizedSPropTagArray macro creates a named SPropTagArray structure that includes a specified number of property tags.

Syntax

SizedSPropTagArray (_ctag, _name)

Parameters

  • _ctag
    Count of property tags to be included in the new structure.
  • _name
    Name for the new structure.

Remarks

Use the SizedSPropTagArray macro to create a property tag array with explicit bounds.

To use the new structure as a pointer to an SPropTagArray structure, perform the following cast:

lpPropTagArray = (LPSPropTagArray)&SizedSPropTagArray;

Requirements

Header

mapidefs.h

Library

cemapi.lib

See Also

Reference

MAPI Macros
SPropTagArray