SysAllocStringLen (OLEAUT32.4)
BSTR SysAllocStringLen ( const OLECHAR* str, unsigned int len )
Create a BSTR from an OLESTR of a given wide character length.
str | [In] | Source to create BSTR from. |
len | [In] | Length of oleStr in wide characters. |
Success: A newly allocated BSTR from SysAllocStringByteLen
Failure: NULL, if len is >= 0x80000000, or memory allocation fails.
See BSTR, SysAllocStringByteLen.
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 Nov 2024.