Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 876 Bytes

File metadata and controls

29 lines (16 loc) · 876 Bytes

Clone method

Project: Stream Extension Classes

Unit: PJIStreams

Classes: TPJIStreamWrapper, TPJHandleIStreamWrapper, TPJFileIStream

Applies to: ~>3.0

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

Description

Method not supported.

In theory, this method creates a new stream object that references the same bytes as the original stream but provides a separate seek pointer to those bytes.

But, because TStream does not support multiple position pointers, implementation of this method is non-trivial. In this implementation Clone is simply a do-nothing stub.

Parameters:

  • IStream -- This parameter is not set in this implementation and its value is undefined.

Returns:

  • E_NOTIMPL.