|
|
|
ISequentialStream Interface |
|
IID_ISequentialStream |
{0C733A30-2A1C-11CE-ADE5-00AA0044773D} |
|
The ISequentialStream interface supports simplified sequential access to stream objects. The IStream interface inherits its Read and Write methods from ISequentialStream.
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.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
ISequentialStream Methods |
Description |
|
Read |
The Read method reads a specified number of bytes from the stream object into memory, starting at the current seek pointer. |
|
Write |
The Write method writes a specified number of bytes into the stream object starting at the current seek pointer. |
|
QueryInterface |
|
FUNCTION ISequentialStream_QueryInterface ( _ BYVAL pthis AS DWORD PTR _ , BYREF riid AS GUID _ , BYREF ppvObj AS DWORD _ ) AS LONG
END FUNCTION
|
|
AddRef |
|
FUNCTION ISequentialStream_AddRef ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS LONG END FUNCTION
|
|
Release |
|
FUNCTION ISequentialStream_Release ( _ BYVAL pthis AS DWORD PTR _
)
AS DWORD
LOCAL DWRESULT
AS DWORD END FUNCTION
|
|
Read |
|
FUNCTION ISequentialStream_Read ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pv AS DWORD _ , BYVAL cb AS DWORD _ , BYREF pcbRead AS DWORD _ ) AS LONG
LOCAL HRESULT AS LONG END FUNCTION
|
|
Write |
|
FUNCTION ISequentialStream_Write ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pv AS DWORD _ , BYVAL cb AS DWORD _ , BYREF pcbWritten AS DWORD _ )
AS LONG
LOCAL HRESULT AS LONG END FUNCTION
|
Page last updated on Thursday, 16 March 2006 03:20:01 +0100