[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'Types' (#rtl)

# IStream.Clone

Clone the stream instance

## Declaration

Source position: types.pp line 327

`function IStream.Clone(`
`out stm: IStream`
`):HRESULT;`

## Description

Clone returns an independent but initially equal copy of the stream in stm. The function returns zero if the call was successful.

## Errors

On error, a nonzero exit code is returned.

Documentation generated on: May 14 2021