// wdbgexts.h
BOOL TranslateVirtualToPhysical(
ULONG64 Virtual,
ULONG64 *Physical
);
View the official Windows Driver Kit DDI referenceNo description available.
The TranslateVirtualToPhysical function translates a virtual memory address into a physical memory address.
VirtualSpecifies the virtual memory address to translate.
PhysicalReceives the physical memory address.
If the function succeeds, the return value is TRUE; otherwise, it is FALSE.
This function is only available in kernel-mode debugging.
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.)