HrSetOneProp

The HrSetOneProp function sets or changes the value of a single property on a property interface, that is, an interface derived from IMAPIProp.

Note This function may not be supported in future versions of MAPI.

Quick Info

Header file: MAPIUTIL.H
Implemented by: MAPI
Called by: Client applications and service providers

HrSetOneProp(
  LPMAPIPROP pmp,     
  LPSPropValue pprop  
);
 

Parameters

pmp
[in] Pointer to an IMAPIProp interface on which the property value is to be set or changed.
pprop
[in] Pointer to the SPropValue structure defining the property to be set or changed.

Remarks

Unlike the IMAPIProp::SetProps method, the HrSetOneProp function never returns any warning. Because it sets only one property, it simply either succeeds or fails. For setting or changing multiple properties, SetProps is faster.

You can retrieve a single property with the HrGetOneProp function.

See Also

Properties Functions