SysReAllocStringLen3w
Usage
int SysReAllocStringLen
(
BSTR* old,
const OLECHAR* str,
unsigned int len
)
Overview
Change the length of a previously created BSTR.
Params
old [Out] BSTR to change the length of.
str [In] New source for pbstr.
len [In] Length of oleStr in wide characters.
Returns
Success: 1. The size of pbstr is updated.
Failure: 0, if len >= 0x80000000 or memory allocation fails.
Notes
See BSTR(3w), SysAllocStringByteLen(3w). *old may be changed by this function.
Implementation
Declared in "oleauto.h".
Implemented in "dlls/oleaut32/oleaut.c".
Debug channel "ole".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.