NAME

SysAllocStringLen  (OLEAUT32.4)

SYNOPSIS

 BSTR SysAllocStringLen
 (
  const OLECHAR* str,
  unsigned int   len
 )

DESCRIPTION

Create a BSTR from an OLESTR of a given wide character length.

PARAMS

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

RETURNS

Success: A newly allocated BSTR from SysAllocStringByteLen

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

NOTES

See BSTR, SysAllocStringByteLen.

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.