CoFreeLibrary

Frees a library that was previously loaded with the bAutoFree parameter of the CoLoadLibrary function set to FALSE.

  • oid CoFreeLibrary(

HINSTANCE hInst
//The handle of the library module to be freed
);

Parameter

hInst

Specifies the handle to the library module to be freed, as returned by CoLoadLibrary.

Comments

The CoFreeLibrary function should be called to free a library that is to be freed explicitly. This is established when the library is loaded with the bAutoFree parameter of CoLoadLibrary set to FALSE. It is illegal to free a library explicitly when the corresponding CoLoadLibrary call specifies that it be freed automatically (the bAutoFree parameter is set to TRUE).

See Also

CoFreeAllLibraries, CoFreeUnusedLibraries, CoLoadLibrary

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database