Platform SDK: MAPI |
The PROP_ID macro returns the property identifier of a specified property tag.
Header file: | MAPIDEFS.H |
Related structure: | SPropValue |
PROP_ID (ulPropTag)
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 places 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.