ISequentialStream interface

When to implement

You can implement
ISequentialStream on an object if you require simple sequential access to a stream object. If you implement
IStream, you must provide an implementation of the
Read and
Write methods from
ISequentialStream.

Note Most applications do not implement
ISequentialStream as a separate interface, and you are not required to provide it separately even if you provide an
IStream implementation. For example, the compound file implementation of structured storage does not succeed on a QueryInterface method for
ISequentialStream but it includes the
Read and
Write methods through the
IStream interface pointer.

When to use

Call the methods of the
ISequentialStream interface from a container or application to perform sequential read and write operations on data. Most applications call the
Read and
Write methods through the
IStream interface.

Members

The ISequentialStream interface inherits from the IUnknown interface. ISequentialStream also has these types of members: