MainMemoryEndAddress (Windows CE 5.0)

Send Feedback

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

DWORD MainMemoryEndAddress;



Return Values



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.

Note   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.


OS Versions: Windows CE 2.10 and later.
Header: Developer-defined.

See Also

OEMGetExtensionDRAM | OEMInit | pNKEnumExtensionDRAM

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.