Поделиться через


OEMEnumExtensionDRAM (Windows Embedded CE 6.0)

1/5/2010

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 OEMMain.lib or OEMMain_StaticKITL.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Optional OAL Functions
MEMORY_SECTION
pNKEnumExtensionDRAM
OEMGetExtensionDRAM
MainMemoryEndAddress
OEMInit
OEMGetExtensionDRAM