WritePhysical 函式 (wdbgexts.h)

WritePhysical 函式會寫入實體記憶體。

語法

void WritePhysical(
  [in]            ULONG64 address,
  [in]            PVOID   buf,
  [in]            ULONG   size,
  [out, optional] PULONG  sizew
);

參數

[in] address

指定要寫入的實體位址。

[in] buf

指定位元組陣列的位址,以保存寫入的數據。

[in] size

指定要寫入的位元組數目。

[out, optional] sizew

接收實際寫入的位元組數目。

傳回值

備註

針對 WdbgExts 延伸模組,請包含 wdbgexts.h。 若為 DbgEng 延伸模組,請在 dbgeng.h 之前包含 wdbgexts.h。 如需詳細資訊 ,請參閱撰寫 DbgEng 延伸模組程序代碼

規格需求

需求
目標平台 桌面
標頭 wdbgexts.h (包含 Wdbgexts.h、Dbgeng.h)