LoadLibraryX

The LoadLibraryX function can load a library or executable in the process.

function LoadLibraryX(
  pLibraryName: PChar
): DWord; stdcall;

Parameters

pLibraryName
[in] PChar of the library which shall be loaded.
 
 

Remarks

LoadLibraryX does not add the library to the module table. Therefore GetModuleHandle and GetProcAddress do not work. Use GetProcAddressX instead.

 

Return Values

If the function succeeds, the return value is the handle of the library.

If the function fails, the return value is 0.

 

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Header

Declared in uallKernel.pas