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 "oleauto.h". https://source.winehq.org/source/include/oleauto.h

Implemented in "dlls/oleaut32/oleaut.c". https://source.winehq.org/source/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 Apr 2024.