IStream.CopyTo function
Copy data from one stream to another.
Declaration
function CopyTo(stm: IStream; cb: LargeUint; out cbRead: LargeUint;
out cbWritten: LargeUint): HRESULTDescription
CopyTo copies
cb bytes from the stream to target
stream
stm.
cbRead returns how many bytes were read
from the stream,
cbwrite returns how many bytes were actually
written to the destination stream. The function returns zero on success.Errors
On error, a nonzero exit code is returned.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
