Condividi tramite


CComBSTR::BSTRToArray

Creates a zero-based one-dimensional safearray, where each element of the array is a character from the CComBSTR object.

HRESULT BSTRToArray(
   LPSAFEARRAY* ppArray 
) throw( );

Parameters

  • ppArray
    [out] The pointer to the safearray used to hold the results of the function.

Return Value

S_OK on success, or any standard HRESULT error value.

Requirements

Header: atlcomcli.h

See Also

Concepts

CComBSTR Class

CComBSTR Members