PROP_ID

Applies to: Outlook 2013 | Outlook 2016

Returns the property identifier of a specified property tag.

Property Value
Header file:
Mapidefs.h
Related structure:
SPropValue
PROP_ID (ulPropTag)

Parameters

ulPropTag

Property tag that contains the identifier to be returned.

Remarks

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_ID macro extracts the property identifier 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.

The PROP_ID macro can be used, for example, to retrieve an identifier to pass to IMAPIProp::GetNamesFromIDs. GetNamesFromIDs retrieves the property name associated with an identifier for a named property.

See also

SPropValue

Macros Related to Structures