The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IStream::CopyTo Method (IStream^, Int64, IntPtr, IntPtr)
.NET Framework (current version)
Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- pstm
-
Type:
System.Runtime.InteropServices.ComTypes::IStream^
A reference to the destination stream.
- cb
-
Type:
System::Int64
The number of bytes to copy from the source stream.
- pcbRead
-
Type:
System::IntPtr
On successful return, contains the actual number of bytes read from the source.
- pcbWritten
-
Type:
System::IntPtr
On successful return, contains the actual number of bytes written to the destination.
For more information, see the existing documentation for IStream::CopyTo in the MSDN Library.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: