Export (0) Print
Expand All

PROP_TYPE

Last modified: July 23, 2011

Applies to: Outlook

Returns the property type of a specified property tag.

Header file:

Mapidefs.h

Related structure:

SPropValue

PROP_TYPE (ulPropTag)

ulPropTag

Property tag that contains the property type to be returned.

The PROP_TYPE macro can be used to determine the type of a property. For example, calling PROP_TYPE (PR_ENTRYID (PidTagEntryId)) 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 puts it in bits 0 through 15 of the integer to be returned. The remaining bits of the return value are set to zeros.

Show:
© 2014 Microsoft