---
name: "IPropData_SetProps"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/IPropData_SetProps"
---

# IPropData\_SetProps(3w)

## NAME

**IPropData\_SetProps** (MAPI32.@)

## SYNOPSIS

static HRESULT IPropData\_SetProps\
  (\
   LPPROPDATA           *iface*,\
   ULONG                *ulValues*,\
   LPSPropValue         *lpProps*,\
   LPSPropProblemArray\* *lppProbs*\
  )

## DESCRIPTION

Add or edit the property values in an **IMAPIProp** object.

## PARAMS

*iface* **\[In\]**  **IMAPIProp** object to get the property tag list from.

*ulValues* **\[In\]**  Number of properties in *lpProps*.

*lpProps* **\[In\]**  Property values to set.

*lppProbs* **\[Out\]**  Optional destination for any problems that occurred.

## RETURNS

**Success:** **S\_OK**. The properties in *lpProps* are added to *iface* if they don't exist, or changed to the values in *lpProps* if they do

**Failure:** An **HRESULT** error code describing the error

## IMPLEMENTATION

Declared in **"mapiutil.h"**.

Implemented in **"dlls/mapi32/prop.c"**.

Debug channel **"mapi"**.
