Compartilhar via


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: atlbase.h

See Also

Reference

CComBSTR Class