System.Classes.TStreamAdapter.Clone
Delphi
function Clone(out stm: IStream): HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall Clone(/* out */ _di_IStream &stm);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamAdapter |
Description
Implements the IStream Clone method.
The Clone method defined by IStream returns a second IStream interface that accesses the same bytes as this IStream interface, but which operates independently (can have its own position).
TStreamAdapter returns E_NOTIMPL to indicate that it does not support the Clone method.