OEMGetExtensionDRAM (Windows CE 5.0)

Send Feedback

This function gets information about extension dynamic RAM (DRAM), if present on the device.

BOOL OEMGetExtensionDRAM( LPDWORD lpMemStart,LPDWORD lpMemLen );

Parameters

  • lpMemStart
    [out] Page-aligned starting address of the extension DRAM, if present.
  • lpMemLen
    [out] Length of the extension DRAM, if present. The length is a multiple of the size of a memory page.

Return Values

This function returns TRUE if extension DRAM is present; otherwise, this function returns FALSE.

Remarks

The kernel calls this function after OEMInit to determine if additional memory is present. Memory can be noncontiguous from the RAM section defined in the Config.bib file.

OEMGetExtensionDRAM limits the OS to two noncontiguous regions of RAM.

If the function pointer pNKEnumExtensionDRAM is set, OEMGetExtensionDRAM is not called.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Nkintr.h.
Link Library: Nk.lib.

See Also

pNKEnumExtensionDRAM | MainMemoryEndAddress | OEMInit | OEMEnumExtensionDRAM

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.