nk Module (Windows CE 5.0)

The nk module supports Microsoft Windows CE kernel functionality and is required for all OS designs. For more information, see Kernel Overview.

The nk module includes functions for configuring the OS. These functions are defined in the Celog.h, Kerninst.c, Mkfuncs.h, Nkintr.h, Oemioctl.c, Pkfuncs.h, Profiler.h, Pwindbas.h, Pwinuser.h, Winbase.h, Windev.h, and Winnt.h header files.

The nk module contains functions for application developers, which are defined in the Winnt.h and Winbase.h header files. To import these functions, you must link to the Nk.lib file.

Components

The following table shows the components contained in the nk module.

Component Description Note Library
cefnk Provides Common Executable Format (CEF) support. Exposes no public functions. Cefnk.lib
hal OEM component that abstracts the kernel from the hardware. Exposes functions to the OEM. Hal.lib
nkcompr Supports file compression. Exposes no public functions. Nkcompr.lib
nkmapfile Supports file mapping. Exposes no public functions. Nkmapfile.lib
nknocomp Removes the file compression component from your OS design. Exposes no public functions. Nknocomp.lib
nknocefnk Stubs out CEF support. Exposes no public functions. Nknofnk.lib
nknomapfile Removes the file mapping component from your OS design. Exposes no public functions. Nknomapfile.lib

hal Component

The hal component is the OEM component that abstracts the kernel from the hardware. The OEM creates this component that is then linked to the kernel to provide a seamless interface to the hardware. This component is required for all OS designs.

The hal component includes functions for configuring the OS. These functions are defined in the Cache.s, Cfwp2.c, Client.c, Ethdbg.h Fwpc.c, Halether.h, Mkfuncs.h, Nkintr.h, Pkfuncs.h, Profiler.h, Oemboot.c, Oeminit.asm, and Oemioctl.c files. To import these functions, you must link to the Hal.lib file.

See Also

Common Windows CE Modules | OEM Adaptation Layer

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.