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 PROP_TAGmacro returns a property tag created by combining a specified property type and identifier.

Syntax

PROP_TAG (
ulPropType, 
ulPropID)

Parameters

ulPropType

Property type for the new property tag.

ulPropID

Property identifier for the new property tag.

Remarks

The PROP_TAGmacro creates a property tag for a property of type ulPropTypeand the identifier that is specified in ulPropID. For example, a property tag for an entry identifier can be created with the PROP_TAGmacro as follows:

Copy Code
PROP_TAG( PT_BINARY, 0x0FFF)

The low-order 16 bits of the returned property tag contain the property type, PT_BINARY, and the high-order 16 bits contain the property identifier, 0xFFFF.

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

MAPI Macros
SPropValue

Other Resources

Messaging