ISequentialStream interface
The ISequentialStream interface supports simplified sequential access to stream objects. The IStream interface inherits its Read and Write methods from ISequentialStream.
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.
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:
Methods
The ISequentialStream interface has these methods.
| Method | Description |
|---|---|
| Read |
Reads a specified number of bytes from the stream object into memory starting at the current seek pointer. |
| Write |
Writes a specified number of bytes to the stream object starting at the current seek pointer. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
|
IID |
IID_ISequentialStream is defined as 0C733A30-2A1C-11CE-ADE5-00AA0044773D |
See also