SysStringLen(3w)

SysStringLen3w

Usage

UINT SysStringLen
(
BSTR str
)

Overview

Get the allocated length of a BSTR in wide characters.

Params

str [In] BSTR to find the length of.

Returns

The allocated length of str, or 0 if str is NULL.

Notes

See BSTR(3w). The returned length may be different from the length of the string as calculated by lstrlenW(3w), since it returns the length that was used to allocate the string by SysAllocStringLen(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.