Share via


dwOEMCleanPages (Windows Embedded CE 6.0)

1/5/2010

This variable is set to signal to the kernel how much memory should be set to zero to enable the device to boot.

Any memory not zeroed at boot is zeroed in a separate thread.

Syntax

DWORD dwOEMCleanPages;

Parameters

None.

Return Value

None.

Remarks

If dwOEMCleanPages is set to zero (0), all memory is set to zero, the default value.

You can determine if enough memory has been zeroed at boot by creating a process that runs before other applications in the system. To do so, place dwOEMCleanPages in HKEY_LOCAL_MACHINE\Init.

When the application runs, enter kernel mode by calling SetKMode and access the data in KInfoTable[KINX_MINPAGEFREE]. This value indicates how much memory has been used to boot to that point.

To determine how much memory is required to fully boot your system, at an idle state use the application again and launch it after the system is up and idle.

Requirements

Header Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Optional OAL Variables

Concepts

Memory Initialization

Other Resources

SetKMode