Debugging Tools for Windows |
The CheckLowMemory method checks for memory corruption in the low 4 GB of memory.
HRESULT
IDebugDataSpaces::CheckLowMemory(
);
This method can also return error values. See Return Values for more details.
CheckLowMemory is available in all versions of IDebugDataSpaces.
This method is only available in kernel-mode debugging, and is only useful when the kernel was booted using the /nolowmem option.
When the kernel is booted with the /nolowmem option, the kernel, drivers, operating system and applications are loaded in memory above 4 GB, while the low 4 GB of memory is filled with a unique pattern. The CheckLowMemory method checks this pattern for corruption.
This may be used to verify that a driver behaves well when using physical addresses greater than 32 bits in length. See Physical Address Extension (PAE), /pae, and /nolowmem in the Windows Driver Kit.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.