Platform SDK: MAPI

SizedSPropTagArray

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

Quick Info

Header file: MAPIDEFS.H
Related structure: SPropTagArray

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 that results from the SizedSPropTagArray macro as a pointer to an SPropTagArray structure, perform the following cast:

lpPropTagArray = (LPPropTagArray) &SizedSPropTagArray;