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 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". source.winehq.org/source/dlls/kernel32/module.c

Debug channel "module".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.