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

# IPropData\_GetProps(3w)

## NAME

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

## SYNOPSIS

static HRESULT IPropData\_GetProps\
  (\
   LPPROPDATA      *iface*,\
   LPSPropTagArray *lpTags*,\
   ULONG           *ulFlags*,\
   ULONG\*          *lpCount*,\
   LPSPropValue\*   *lppProps*\
  )

## DESCRIPTION

Get property values from an **IMAPIProp** object.

## PARAMS

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

*lpTags* **\[In\]**  Property tage of property values to be retrieved.

*ulFlags* **\[In\]**  Return 0=Ascii **MAPI\_UNICODE**=Unicode strings for unspecified types.

*lpCount* **\[Out\]**  Destination for number of properties returned.

*lppProps* **\[Out\]**  Destination for returned property values.

## RETURNS

**Success:** **S\_OK**. \**lppProps* and \**lpCount* are updated.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid. **MAPI\_E\_NOT\_ENOUGH\_MEMORY**, if memory allocation fails, or **MAPI\_W\_ERRORS\_RETURNED** if not all properties were retrieved successfully.

## NOTES

**-** If **MAPI\_W\_ERRORS\_RETURNED** is returned, any properties that could not be retrieved from *iface* are present in *lppProps* with their type changed to **PT\_ERROR** and Id unchanged.

## IMPLEMENTATION

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

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

Debug channel **"mapi"**.
