CComVariant::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 underlying VARIANT to the VARIANT contained in the specified stream. ReadToStream requires a previous call to WriteToStream.

CComVariant OverviewClass Members