FreeLibrary

Syntax

void FreeLibrary(hLibModule)

This function decreases the reference count of the loaded library module by one. When the reference count reaches zero, the memory occupied by the module is freed.

Parameter Type/Description  

hLibModule HANDLE Identifies the loaded library module.  

Return Value

None.

Comments

A DLL must not call the FreeLibrary function within its WEP function.