This function decrements the reference count of the loaded dynamic-link library (DLL) loaded via LIBLoadLibrary(String).
When the reference count reaches zero, the module is unmapped from the address space of the calling process and the handle is no longer valid.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("kernel32.dll", EntryPoint = "FreeLibrary")] public static bool LIBFreeLibrary( int hModule )
Parameters
- hModule
- Type: SystemInt32
Handle to the loaded DLL module. The LIBLoadLibrary(String) returns this handle.
Return Value
Type: BooleanIf the function succeeds, the return value is . If the function fails, the return value is .
Remarks
See Also