UCOMIStream.CopyTo(UCOMIStream, Int64, IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
public:
void CopyTo(System::Runtime::InteropServices::UCOMIStream ^ pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
public void CopyTo (System.Runtime.InteropServices.UCOMIStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
abstract member CopyTo : System.Runtime.InteropServices.UCOMIStream * int64 * nativeint * nativeint -> unit
Public Sub CopyTo (pstm As UCOMIStream, cb As Long, pcbRead As IntPtr, pcbWritten As IntPtr)
Parameters
- pstm
- UCOMIStream
Reference to the destination stream.
- cb
- Int64
The number of bytes to copy from the source stream.
- pcbRead
-
IntPtr
nativeint
On successful return, contains the actual number of bytes read from the source.
- pcbWritten
-
IntPtr
nativeint
On successful return, contains the actual number of bytes written to the destination.
Remarks
For more information, please see the existing documentation for IStream::CopyTo
in the MSDN library.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應