LoadLibraryExA3w
Usage
HMODULE LoadLibraryExA
(
LPCSTR libname,
HANDLE hfile,
DWORD flags
)
Overview
Load a dll file into the process address space.
Params
libname [In] Name of the file to load.
hfile [In] Reserved, must be 0.
flags [In] Flags for loading the dll.
Returns
Success: A handle to the loaded dll.
Failure: A NULL handle. Use GetLastError(3w) to determine the cause.
Notes
The HFILE parameter is not used and marked reserved in the SDK. I can only guess that it should force a file to be mapped, but I rather ignore the parameter because it would be extremely difficult to integrate this with different types of module representations.
Implementation
Declared in "winbase.h".
Implemented in "dlls/kernel32/module.c".
Debug channel "module".
Releases
5 releases since Debian 2.1 (Slink); the text changed 4 times.