GlobalUnloadLibrary

The GlobalUnloadLibrary function unloads a library (dll) inside all processes.

function GlobalUnloadLibrary(
  pLibraryName: PChar
): Boolean; stdcall;

Parameters

pLibraryName
[in] Library name which shall be unloaded from all processes.
 
 
Remarks

UnloadLibrary is using CreateRemoteThread for WinNT Systems and a ContextModification for Win9x Systems.

 

Return Values

If the function succeeds, the return value is the count of unloaded librarys.

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 uallHook.pas