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, SysAllocStringByteLen. *old may be changed by this function.

IMPLEMENTATION

Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h

Implemented in "dlls/oleaut32/oleaut.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/oleaut.c

Debug channel "ole".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.