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

# ScCopyProps(3w)

## NAME

**ScCopyProps** (MAPI32.171)

## SYNOPSIS

SCODE ScCopyProps\
  (\
   int          *cValues*,\
   LPSPropValue *lpProps*,\
   LPVOID       *lpDst*,\
   ULONG\*       *lpCount*\
  )

## DESCRIPTION

Copy an array of property values into a buffer suited for serialisation.

## PARAMS

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

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

*lpDst* **\[Out\]**  Destination for the serialised data.

*lpCount* **\[Out\]**  If non-NULL, destination for the number of bytes of data written to *lpDst*.

## RETURNS

**Success:** **S\_OK**. *lpDst* contains the serialised data from *lpProps*.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid.

## NOTES

The resulting property value array is stored in a contiguous block starting at *lpDst*.

## IMPLEMENTATION

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

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

Debug channel **"mapi"**.
