Share via


OEMEnumExtensionDRAM

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This function returns information about extension DRAM, if present on the device.

Syntax

DWORD OEMEnumExtensionDRAM(
  PMEMORY_SECTION pMemSections,
  DWORD cMemSections
);

Parameters

  • pMemSections
    [in, out] On input or output, the address of the MEMORY_SECTION array.
  • cMemSections
    [in] Number of entries in pMemSections.

Return Value

The number of memory sections that are described to the kernel.

Remarks

To implement this function, OEMs need to assign OEMEnumExtensionDRAM to the pNKEnumExtensionDRAM global function pointer.

OEMEnumExtensionDRAM is called only once and requires that all MEMORY_SECTION information is complete. Confirm that the number of filled memory sections is less than cMemSections.

If your platform contains only two noncontiguous memory sections, you can continue to use the OEMGetExtensionDRAM function.

Requirements

Header nkintr.h
Library Nk.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

MEMORY_SECTION
pNKEnumExtensionDRAM
OEMGetExtensionDRAM
MainMemoryEndAddress
OEMInit
OEMGetExtensionDRAM