Export (0) Print
Expand All

PROP_ID

Published: July 16, 2012

Returns the property identifier of a specified property tag.

Header file:

Mapidefs.h

Related structure:

SPropValue

PROP_ID (ulPropTag)

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.

Community Additions

ADD
Show:
© 2014 Microsoft