---
name: "IMAPIProp_GetProps"
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_GetProps"
---

# IMAPIProp\_GetProps(3w)

## NAME

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

## SYNOPSIS

static inline HRESULT IMAPIProp\_GetProps\
  (\
   LPMAPIPROP      *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

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

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

Debug channel **"mapi"**.
