共用方式為


IStream.RemoteRead(Byte, UInt32, UInt32) Method

Definition

Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.

public:
 void RemoteRead([Runtime::InteropServices::Out] System::Byte % pv, System::UInt32 cb, [Runtime::InteropServices::Out] System::UInt32 % pcbRead);
public void RemoteRead (out byte pv, uint cb, out uint pcbRead);
abstract member RemoteRead : byte * uint32 * uint32 -> unit
Public Sub RemoteRead (ByRef pv As Byte, cb As UInteger, ByRef pcbRead As UInteger)

Parameters

pv
Byte

When this method returns, contains the data read from the stream. This parameter is passed uninitialized.

cb
UInt32

The number of bytes to read from the stream object.

pcbRead
UInt32

A pointer to a ULONG variable that receives the actual number of bytes read from the stream object.

Implements

Applies to