Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CComVariant::ReadFromStream

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.

Header: atlcomcli.h

Show:
© 2015 Microsoft