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. *pbstr 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/ole2disp.dll16/ole2disp.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ole2disp.dll16/ole2disp.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.