IStream.RemoteRead(Byte, UInt32, UInt32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從資料流物件中將指定的位元組數目讀入記憶體中目前搜尋指標開始處。
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)
參數
- pv
- Byte
此方法傳回時,包含從資料流讀取的資料。 這個參數會以未初始化的狀態傳遞。
- cb
- UInt32
要從資料流物件讀取的位元組數目。
- pcbRead
- UInt32
ULONG 變數的指標,該變數會從資料流物件中讀取實際的位元組數目。