LoadLibraryExA.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

LoadLibraryExA (KERNEL32.@)

SYNOPSIS

HMODULE LoadLibraryExA
 (
  LPCSTR libname,
  HANDLE hfile,
  DWORD  flags
 )

DESCRIPTION

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

Defined in "winbase.h".

Implemented in "dlls/kernel32/module.c".

Debug channel "module".