共用方式為


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 (include Wdbgexts.h, Dbgeng.h)