PROP_TAG

4/8/2010

The PROP_TAG macro 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_TAG macro creates a property tag for a property of type ulPropType and the identifier that is specified in ulPropID. For example, a property tag for an entry identifier can be created with the PROP_TAG macro as follows:

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