Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CheckLowMemory method checks for memory corruption in the low 4 GB of memory.
Syntax
HRESULT CheckLowMemory();
Return value
Return code | Description |
---|---|
|
No corruption was found. |
|
Corruption was found on the memory page Page. |
This method can also return error values. See Return Values for more details.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |