PROP_ID

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the property identifier of a specified property tag.

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

Reference

SPropValue

Concepts

Macros Related to Structures