Condividi tramite


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

See Also

Concepts

CComBSTR Class

CComBSTR Members