MainMemoryEndAddress (Windows CE 5.0)
This global variable specifies the next available address following the first available contiguous block of memory.
DWORD MainMemoryEndAddress;
Parameters
None.
Return Values
None.
Remarks
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.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Developer-defined.
See Also
OEMGetExtensionDRAM | OEMInit | pNKEnumExtensionDRAM
Send Feedback on this topic to the authors