Last modified: July 23, 2011

Applies to: Outlook

Returns the property identifier of a specified property tag.

Header file:


Related structure:


PROP_ID (ulPropTag)


Property tag that contains the identifier to be 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_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.