Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComVariant::ReadFromStream

 

Sets the underlying VARIANT to the VARIANT contained in the specified stream.


      HRESULT ReadFromStream(
   IStream* pStream 
);

pStream

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

A standard HRESULT value.

ReadToStream requires a previous call to WriteToStream.

Requirements

Header: atlcomcli.h

Show: