CComBSTR::AssignBSTR

Assigns a BSTR to m_str.

HRESULT AssignBSTR(
   const BSTR bstrSrc 
) throw( );

Parameters

  • bstrSrc
    [in] A BSTR to assign to the current CComBSTR object.

Return Value

S_OK on success, or any standard HRESULT error value.

Requirements

Header: atlbase.h

See Also

Reference

CComBSTR Class

Other Resources

CComBSTR Members