Share via


LoadKernelLibrary (Windows Embedded CE 6.0)

1/5/2010

This function is called to load a DLL into the kernel's address space.

Syntax

HANDLE LoadKernelLibrary(
  LPCWSTR lpszFileName
);

Parameters

  • lpszFileName
    [in] The name of the DLL to load.

Return Value

If the operation succeeds a valid handle is returned; otherwise, NULL is returned.

Remarks

The LoadKernelLibrary function loads a DLL that can only be unloaded by restarting the device.

This function is only used to load a DLL for event tracking and to load the kernel debugger DLLs.

The library loaded by LoadKernelLibrary cannot have dependent DLLs. Every function must be statically linked.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Other OAL Functions

Other Resources

CeLog Event Tracking