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

# SafeArrayRedim(3w)

## NAME

**SafeArrayRedim** (OLEAUT32.40)

## SYNOPSIS

HRESULT SafeArrayRedim\
  (\
   SAFEARRAY\*      *psa*,\
   SAFEARRAYBOUND\* *psabound*\
  )

## DESCRIPTION

Changes the characteristics of the last dimension of a SafeArray.

## PARAMS

*psa* **\[In\]**  Array to change.

*psabound* **\[In\]**  New bound details for the last dimension.

## RETURNS

**Success:** **S\_OK**. *psa* is updated to reflect the new bounds.

**Failure:** An **HRESULT** error code indicating the error.

## NOTES

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

## IMPLEMENTATION

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

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

Debug channel **"variant"**.
