SysAllocStringLen(3w)

SysAllocStringLen3w

Usage

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

Overview

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(3w)

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

Notes

See BSTR(3w), SysAllocStringByteLen(3w).

Implementation

Declared in "oleauto.h".

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

Debug channel "ole".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.