IDebugDataSpaces2::VirtualToPhysical method (dbgeng.h)
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
[in] Virtual
Specifies the location in the target's virtual address space to translate.
[out] Physical
Receives the physical memory address.
Return value
Return code | Description |
---|---|
|
The method was successful. |
|
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |