NAME
SysReAllocStringLen (OLEAUT32.5)
SYNOPSIS
int SysReAllocStringLen
(
BSTR* old,
const OLECHAR* str,
unsigned int len
)
DESCRIPTION
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".