SysStringLen.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SysStringLen (OLEAUT32.7)

SYNOPSIS

UINT SysStringLen
 (
  BSTR str
 )

DESCRIPTION

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

Defined in "ole2disp.h".

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

Debug channel "ole".