Decrements the reference count of the loaded dynamic-link library.
#include <windows.h> BOOL FreeLibrary ( HMODULE hModule);
(IN) Specifies the handle of the library to free.
If successful, returns a nonzero value. Otherwise, returns 0.
The FreeLibrary function informs the system that the object referenced by handle is no longer needed by the application.
The FreeLibrary function is not a preferred interface. If possible, use dlerror from dlfcn.h.