NAME

SysAllocStringLen16  (OLE2DISP.4)

SYNOPSIS

 BSTR16 SysAllocStringLen16
 (
  const char* oleStr,
  int         len
 )

DESCRIPTION

Create a BSTR16 from an OLESTR16 of a given character length (16 Bit).

PARAMS

oleStr [In] Source to create BSTR16 from.
len [In] Length of oleStr in wide characters.

RETURNS

Success: A newly allocated BSTR16 from SysAllocStringByteLen16

Failure: NULL, if len is >= 0x80000000, or memory allocation fails.

NOTES

See SysAllocStringByteLen16.

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 Nov 2024.