CComBSTR::operator &

BSTR* operator &( );

Remarks

Returns the address of the BSTR stored in the m_str member.

Example

CComBSTR bstrStr = "Hello World";
//...
//free 'Hello World' & point the BSTR to 'Bye'
::SysReAllocString(&bstrStr, OLESTR("Bye"));

CComBSTR OverviewClass Members