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

# SafeArrayGetElemsize(3w)

## NAME

**SafeArrayGetElemsize** (OLEAUT32.18)

## SYNOPSIS

UINT SafeArrayGetElemsize\
  (\
   SAFEARRAY\* *psa*\
  )

## DESCRIPTION

Get the size of an element in a SafeArray.

## PARAMS

*psa* **\[In\]**  Array to get the element size from.

## RETURNS

The size of a single element in *psa*, or **0** if *psa* is **NULL**.

## NOTES

See **[SafeArray(3w)](/SafeArray/3w.md)**.

## IMPLEMENTATION

Declared in **"oleauto.h"**.

Implemented in **"dlls/oleaut32/safearray.c"**.

Debug channel **"variant"**.
