SysAllocStringLen(3w)

NAME

SysAllocStringLen (OLEAUT32.4)

SYNOPSIS

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

DESCRIPTION

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

Defined in "oleauto.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/oleaut32/oleaut.c".

Debug channel "ole".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout