ReadPhysical function (wdbgexts.h)

The ReadPhysical function reads from physical memory.

Syntax

void ReadPhysical(
  ULONG64 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

Remarks

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).

Requirements

Requirement Value
Target Platform Desktop
Header wdbgexts.h (include Wdbgexts.h, Dbgeng.h)