Debugging Tools for Windows

WritePhysical

The WritePhysical function writes to physical memory.

VOID 
  WritePhysical (
    LARGE_INTEGER address,
    PVOID buf,
    ULONG size,
    PULONG sizew
    );

Parameters

address
Specifies the physical address to write.
buf
Specifies the address of an array of bytes to hold the data that is written.
size
Specifies the number of bytes to write.
sizew
Receives the number of bytes actually written.

Return Value

None

Requirements

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

Build machine: CAPEBUILD