ICLRDataTarget::WriteVirtual 方法
將資料從指定緩衝區寫入指定的虛擬記憶體位址。
語法
HRESULT WriteVirtual (
[in] CLRDATA_ADDRESS address,
[in, size_is(bytesRequested)]
BYTE *buffer,
[in] ULONG32 bytesRequested,
[out] ULONG32 *bytesWritten
);
參數
address
[輸入] 儲存虛擬記憶體位址的 CLRDATA_ADDRESS。
buffer
[輸入] 緩衝區的指標,此緩衝區儲存要寫入的資料。
bytesRequested
[輸入] 要寫入的位元組數目。
bytesWritten
[輸出] 已寫入的實際位元組數目指標。
規格需求
平台:請參閱系統需求。
標頭:ClrData.idl、ClrData.h
程式庫:CorGuids.lib
.NET Framework版本:自 2.0 起提供