Debugging Tools for Windows

ReadPhysical

The ReadPhysical function reads from physical memory.

VOID 
  ReadPhysical (
    LARGE_INTEGER address,
    PVOID buf,
    ULONG size, 
    PULONG sizer
    );

Parameters

address
Specifies the physical address to read.
buf
Specifies the address of an array of bytes to hold the data that is read.
size
Specifies the number of bytes to read.
sizer
Receives the number of bytes actually read.

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