IStream

[Properties (by Name)][Methods (by Name)][Events (by Name)]

COM stream abstraction

Declaration

Source position: types.pp line 318

Type
  IStream = interface (ISequentialStream) ['{0000000C-0000-0000-C000-000000000046}']
    function Seek(dlibMove: Largeint; dwOrigin: DWORD; 
                 out libNewPosition: LargeUint) : HRESULT;
    function SetSize(libNewSize: LargeUint) : HRESULT;
    function CopyTo(stm: IStream; cb: LargeUint; out cbRead: LargeUint; 
                   out cbWritten: LargeUint) : HRESULT;
    function Commit(grfCommitFlags: DWORD) : HRESULT;
    function Revert : HRESULT;
    function LockRegion(libOffset: LargeUint; cb: LargeUint; 
                       dwLockType: DWORD) : HRESULT;
    function UnlockRegion(libOffset: LargeUint; cb: LargeUint; 
                         dwLockType: DWORD) : HRESULT;
    function Stat(out statstg: TStatStg; grfStatFlag: DWORD) : HRESULT;
    function Clone(out stm: IStream) : HRESULT;
  end
  ;

Description

An abstract interface for an external (non pascal) stream, as defined in Microsoft COM interfaces

Members

Member Type Visibility Description
Clone Method default Clone the stream instance
Commit Method default Commit data to the stream
CopyTo Method default Copy data from one stream to another
LockRegion Method default Lock a region of bytes in the stream
Revert Method default Revert changes
Seek Method default Set the stream position
SetSize Method default Set the stream size
Stat Method default return information about the stream.
UnlockRegion Method default Unlocks a previously locked region of bytes in the stream

Inheritance

Class Description
IStream COM stream abstraction