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)