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

# SysReAllocString(3w)

## NAME

**SysReAllocString** (OLEAUT32.3)

## SYNOPSIS

INT SysReAllocString\
  (\
   LPBSTR    *old*,\
   LPCOLESTR *str*\
  )

## DESCRIPTION

Change the length of a previously created **BSTR**.

## PARAMS

*old* **\[In/Out\]**  **BSTR** to change the length of.

*str* **\[In\]**  New source for pbstr.

## RETURNS

**Success:** **1**

**Failure:** **0.**

## NOTES

See **[BSTR(3w)](/BSTR/3w.md)**, **SysAllocStringStringLen(3w)**.

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
