This function is called to load a DLL into the kernel's address space.
HANDLE LoadKernelLibrary( LPCWSTR lpszFileName );
- [in] The name of the DLL to load.
If the operation succeeds then a valid handle is returned, otherwise NULL is returned.
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. In addition, the library loaded by LoadKernelLibrary cannot have any dependent DLLs. Every function must be statically linked.
OS Versions: Windows CE .NET 4.0 and later.
Link Library: Coredll.lib.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.