Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Header file:


Implemented by:


Called by:

Client applications and service providers

  LPSPropValue pprop


[in] Pointer to an IMAPIProp interface on which the property value is to be set or changed.


[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.

© 2015 Microsoft