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

# ScCountProps(3w)

## NAME

**ScCountProps** (MAPI32.170)

## SYNOPSIS

SCODE ScCountProps\
  (\
   INT          *iCount*,\
   LPSPropValue *lpProps*,\
   ULONG\*       *pcBytes*\
  )

## DESCRIPTION

Validate and determine the length of an array of properties.

## PARAMS

*iCount* **\[In\]**  Length of the *lpProps* array.

*lpProps* **\[In\]**  Array of properties to validate/size.

*pcBytes* **\[Out\]**  If non-NULL, destination for the size of the property array.

## RETURNS

**Success:** **S\_OK**. If *pcBytes* is non-NULL, it contains the size of the properties array.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid or validation of the property array fails.

## IMPLEMENTATION

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

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

Debug channel **"mapi"**.
