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.
Header file: | MAPIUTIL.H |
Implemented by: | MAPI |
Called by: | Client applications and service providers |
HrSetOneProp(
LPMAPIPROP pmp,
LPSPropValue pprop
);
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.