PROP_TYPE

Send Feedback

The PROP_TYPE macro returns the property type of a specified property tag.

Syntax

PROP_TYPE (ulPropTag)

Parameters

  • ulPropTag
    Property tag containing the property type to be returned.

Remarks

The PROP_TYPE macro can be used to determine the type of a property. For example, calling PROP_TYPE(PR_ENTRYID) results in the value PT_BINARY being returned.

Every property tag contains the property type in the low-order word (bits 0 through 15) and the property identifier in the high-order word (bits 16 through 31). The PROP_TYPE macro extracts the property type and places it in bits 0 through 15 of the integer to be returned. The remaining bits of the return value are set to zeros.

Requirements

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

See Also

MAPI Macros | Messaging | SPropValue

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.