Export (0) Print
Expand All
Expand Minimize

PpropFindProp

Last modified: August 07, 2012

Applies to: Outlook

Searches for a specified property in a property set.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

LPSPropValue PpropFindProp(
  LPSPropValue rgprop,
  ULONG cprop,
  ULONG ulPropTag
);

rgprop

[in] Array of SPropValue structures that define the properties to be searched.

cprop

[in] Count of properties in the property set indicated by the rgprop parameter.

ulPropTag

[in] Property tag for the property to search for in the property set indicated by the rgprop parameter.

PpropFindProp returns an SPropValue structure defining the property that matches the input property tag, or NULL if there is no match.

If the given property tag indicates a property of type PT_UNSPECIFIED, the PpropFindProp function finds a match only for the property identifier in the tag. Otherwise, it finds a match for the entire property tag, including the property type, and returns the property identified.

For MFCMAPI sample code, see the following table.

File

Function

Comment

ContentsTableListCtrl.cpp

CContentsTableListCtrl::BuildDataItem

MFCMAPI uses the PpropFindProp method to find properties in a property set being added to the list.

Show:
© 2014 Microsoft