[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Copy data from one stream to another
Source position: types.pp line 273
function IStream.CopyTo( |
stm: IStream; |
cb: Largeint; |
out cbRead: Largeint; |
out cbWritten: Largeint |
):HRESULT; |
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.
On error, a nonzero exit code is returned.
lazarus-ccr.sourceforge.net |