Compartilhar via


LoadKernelLibrary (Windows CE 5.0)

Send Feedback

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

HANDLE LoadKernelLibrary(LPCWSTR lpszFileName);

Parameters

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

Return Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

See Also

Trusted APIs | CeLog Event Tracking

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.