Partager via


dwOEMCleanPages (Windows CE 5.0)

Send Feedback

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.

DWORD dwOEMCleanPages;

Parameters

None.

Return Values

None.

Remarks

If dwOEMCleanPages is set to zero (O), 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

OS Versions: Windows CE .NET 4.0 and later.
Header: Developer-defined.

See Also

SetKMode | Memory Initialization

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.