SysAllocStringLen16.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "ole2disp.h".

Implemented in "dlls/oleaut32/ole2disp.c".

Debug channel "ole".