// wdbgexts.h
VOID WritePhysical(
[in] ULONG64 address,
[in] PVOID buf,
[in] ULONG size,
[out, optional] PULONG sizew
);
View the official Windows Driver Kit DDI referenceNo description available.
The WritePhysical function writes to physical memory.
address [in]Specifies the physical address to write.
buf [in]Specifies the address of an array of bytes to hold the data that is written.
size [in]Specifies the number of bytes to write.
sizew [out, optional]Receives the number of bytes actually written.
For a WdbgExts extension, include wdbgexts.h. For a DbgEng extension, include wdbgexts.h before dbgeng.h. See Writing DbgEng Extension Code for details.