LoadKernelLibrary (Compact 2013)
10/16/2014
This function loads a DLL into the kernel's address space.
Syntax
HANDLE LoadKernelLibrary(
LPCWSTR lpszFileName
);
Parameters
- lpszFileName
[in] Name of the DLL to load.
Return Value
A valid handle indicates success. NULL indicates failure.
Remarks
This 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 this function cannot have dependent DLLs. Every function must be statically linked.
Requirements
Header |
pkfuncs.h |
Library |
coredll.lib |