Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

HrSetOneProp

Sets or changes the value of a single property on a property interface, that is, an interface derived from IMAPIProp.

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 value to be set on the pmp property.

Unlike the IMAPIProp::SetProps method, the HrSetOneProp function never returns any warnings. 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.