VectorFromBstr.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

VectorFromBstr (OLEAUT32.@)

SYNOPSIS

HRESULT VectorFromBstr
 (
  BSTR        bstr,
  SAFEARRAY** ppsa
 )

DESCRIPTION

Create a SafeArray Vector from the bytes of a BSTR.

PARAMS

bstr [In] String to get bytes from.

ppsa [Out] Destination for the array.

RETURNS

Success: S_OK. ppsa contains the strings bytes as a VT_UI1 array.

Failure: An HRESULT error code indicating the error.

NOTES

See SafeArray(3w).

IMPLEMENTATION

Defined in "oleauto.h".

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

Debug channel "variant".