RAD Studio VCL Reference
TStreamAdapter.Clone Method

Implements the IStream Clone method.

function Clone(out stm: IStream): HResult; virtual; stdcall;
virtual __fastcall __stdcall HRESULT Clone(IStream stm);

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!