Condividi tramite


CComVariant::WriteToStream

Saves the underlying VARIANT to a stream.

HRESULT WriteToStream( 
   IStream* pStream  
);

Parameters

  • pStream
    [in] A pointer to the IStream interface on a stream.

Return Value

A standard HRESULT value.

Requirements

Header: atlcomcli.h

See Also

Reference

CComVariant Class

CComVariant::ReadFromStream