Skip to content

IStream

COM stream abstraction.

Declaration

Source position: types.pp line 507

type

  IStream = interface(ISequentialStream)
  ['{0000000C-0000-0000-C000-000000000046}']
    function Seek : HRESULT; stdcall;
    function SetSize : HRESULT; stdcall;
    function CopyTo : HRESULT; stdcall;
    function Commit : HRESULT; stdcall;
    function Revert : HRESULT; stdcall;
    function LockRegion : HRESULT; stdcall;
    function UnlockRegion : HRESULT; stdcall;
    function Stat : HRESULT; stdcall;
    function Clone : HRESULT; stdcall;
  end;

Description

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

Methods

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