CComBSTR::ReadFromStream

HRESULT ReadFromStream( IStream* pStream );

Return Value

A standard HRESULT value.

Parameters

pStream

[in] A pointer to the IStream interface on the stream containing the data.

Remarks

Sets the m_str member to the BSTR contained in the specified stream. ReadToStream requires a previous call to WriteToStream.

CComBSTR OverviewClass Members