Microsoft SDK for Java

CopyTo

This method of the IStream Interface copies a specific number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.

Syntax

public void CopyTo(IStream pstm, long cb, long[] pcbRead, long[] pcbWritten);

Parameters

pstm The stream that is copied to.
cb The number of bytes to copy.
pcbRead A pointer to the number of bytes actually read.
pcbWritten A pointer to the number of bytes actually written.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.