Share via


CPersistStream::ReadFromStream (Compact 2013)

3/26/2014

This method reads the filter's data from the given stream.

Syntax

virtual HRESULT ReadFromStream(
  IStream* pStream
);

Parameters

  • pStream
    Pointer to an IStream interface from which data is to be read.

Return Value

Returns S_OK. The derived class should return a valid HRESULT value.

Remarks

The default version reads nothing; it can be overridden to read data specific to your class.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CPersistStream Class

Other Resources

IStream