VirtualToPhysical

IDebugDataSpaces2::VirtualToPhysical method

The VirtualToPhysical method translates a location in the target's virtual address space into a physical memory address.

Syntax


HRESULT VirtualToPhysical(
  [in]  ULONG64  Virtual,
  [out] PULONG64 Physical
);

Parameters

Virtual [in]

Specifies the location in the target's virtual address space to translate.

Physical [out]

Receives the physical memory address.

Return value

Return codeDescription
S_OK

The method was successful.

HRESULT_FROM_NT(STATUS_NO_PAGEFILE)

No physical page containing the specified address could be found.

 

This method can also return error values. See Return Values for more details.

Remarks

This method is only available in kernel-mode debugging.

Requirements

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft