pNKEnumExtensionDRAM

This global variable is a kernel global function pointer that is used by the kernel to enumerate multiple memory sections. The OEM must first declare the kernel variable if it is going to use more than two memory sections.

DWORD (*pNKEnumExtensionDRAM)(
  PMEMORY_SECTIONpMemSections,
  DWORD cMemSections
);

Remarks

During OEMInit, the OEM will initialize the pNKEnumExtensionDRAM variable to the function pointer of an OEM-defined OEMEnumExtensionDRAM function. The kernel will check pNKEnumExtensionDRAM during boot and if it is set, it will no longer call OEMGetExtensionDRAM. If it is NULL, which is the default, it will call OEMGetExtensionDRAM as it did in previous releases.

The kernel calls this function to determine whether additional memory is present. The function should return FALSE the number of device memory sections and store that value in pMemSections.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Nkintr.h.

See Also

MainMemoryEndAddress | OEMInit | OEMGetExtensionDRAM | OEMEnumExtensionDRAM

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.