---
name: "IMAPIProp_DeleteProps"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.0.1-3.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/IMAPIProp_DeleteProps"
---

# IMAPIProp\_DeleteProps(3w)

## NAME

**IMAPIProp\_DeleteProps** (MAPI32.@)

## SYNOPSIS

static inline HRESULT IMAPIProp\_DeleteProps\
  (\
   LPMAPIPROP           *iface*,\
   LPSPropTagArray      *lpTags*,\
   LPSPropProblemArray\* *lppProbs*\
  )

## DESCRIPTION

Delete one or more property values from an **IMAPIProp** object.

## PARAMS

*iface* **\[In\]**  **IMAPIProp** object to remove property values from.

*lpTags* **\[In\]**  Collection of property Id's to remove from *iface*.

*lppProbs* **\[Out\]**  Destination for problems encountered, if any.

## RETURNS

**Success:** **S\_OK**. Any properties in *iface* matching property Id's in *lpTags* have been deleted. If *lppProbs* is non-NULL it contains details of any errors that occurred.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid. **E\_ACCESSDENIED**, if this object was created using **[CreateIProp(3w)](/CreateIProp/3w.md)** and a subsequent call to **IPropData\_SetObjAcess(3w)** was made specifying **IPROP\_READONLY** as the access type.

## NOTES

**-** *lppProbs* will not be populated for cases where a property Id is present in *lpTags* but not in *iface*.

**-** *lppProbs* should be deleted with **[MAPIFreeBuffer(3w)](/MAPIFreeBuffer/3w.md)** if returned.

## IMPLEMENTATION

Defined in **"mapidefs.h"**.

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

Debug channel **"mapi"**.
