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

# SysReAllocStringLen16(3w)

## NAME

**SysReAllocStringLen16** (OLE2DISP.5)

## SYNOPSIS

int SysReAllocStringLen16\
  (\
   BSTR16\*     *old*,\
   const char\* *in*,\
   int         *len*\
  )

## DESCRIPTION

Change the length of a previously created **BSTR16** (**16** Bit).

## PARAMS

pbstr **\[In\]**  **BSTR16** to change the length of.

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

*len* **\[In\]**  Length of oleStr *in* characters.

## RETURNS

**Success:** **1.** The size of pbstr is updated.

**Failure:** **0**, if *len* \>= 0x8000 or memory allocation fails.

## NOTES

See **SysAllocStringByteLen16(3w)**. \*pbstr may be changed by this function.

## IMPLEMENTATION

Declared *in* **"ole2disp.h"**.

Implemented *in* **"dlls/ole2disp.dll16/ole2disp.c"**.

Debug channel **"ole"**.
