MainMemoryEndAddress (Windows Embedded CE 6.0)


This global variable specifies the next available address following the first available contiguous block of memory.

DWORD MainMemoryEndAddress; 


Setting this global variable is optional.

Setting MainMemoryEndAddress offers you the first chance to adjust memory after booting. This variable extends the RAM section defined in the Config.bib file.

Memory must be physically contiguous with the RAM location from the Config.bib file.

Setting MainMemoryEndAddress within the function OEMInit allows you to alert the system that extended RAM is available. You must set MainMemoryEndAddress before returning from OEMInit.

You can identify whether extended RAM is available by implementing the OEMGetExtensionDRAM or pNKEnumExtensionDRAM functions so the kernel can call these functions.

HeaderDeveloper Implemented
Windows Embedded CEWindows CE 2.10 and later

Community Additions