Scroll to navigation

SysAllocStringLen16(3w) Wine API SysAllocStringLen16(3w)

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(3w)
Failure: NULL, if len is >= 0x80000000, or memory allocation fails.
 

NOTES

See SysAllocStringByteLen16(3w).
 

IMPLEMENTATION

Declared in "ole2disp.h".
Implemented in "dlls/ole2disp.dll16/ole2disp.c".
Debug channel "ole".
Oct 2012 Wine API