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

# ScDupPropset(3w)

## NAME

**ScDupPropset** (MAPI32.174)

## SYNOPSIS

SCODE ScDupPropset\
  (\
   int              *cValues*,\
   LPSPropValue     *lpProps*,\
   LPALLOCATEBUFFER *lpAlloc*,\
   LPSPropValue\*    *lpNewProp*\
  )

## DESCRIPTION

Duplicate a property value array into a contiguous block of memory.

## PARAMS

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

*lpProps* **\[In\]**  Property array to duplicate.

*lpAlloc* **\[In\]**  Memory allocation function, use **[MAPIAllocateBuffer(3w)](/MAPIAllocateBuffer/3w.md)**.

*lpNewProp* **\[Out\]**  Destination for the newly duplicated property value array.

## RETURNS

**Success:** **S\_OK**. \**lpNewProp* contains the duplicated array.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid, **MAPI\_E\_NOT\_ENOUGH\_MEMORY**, if memory allocation fails.

## IMPLEMENTATION

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

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

Debug channel **"mapi"**.
