CoFreeAllLibraries function

Frees all the DLLs that have been loaded with the CoLoadLibrary function (called internally by CoGetClassObject), regardless of whether they are currently in use.

Syntax

void CoFreeAllLibraries(

);

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Remarks

To unload libraries, CoFreeAllLibraries uses a list of loaded DLLs for each process that the COM library maintains. The CoUninitialize and OleUninitialize functions call CoFreeAllLibraries internally, so applications usually have no need to call this function directly.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objbase.h
Library Ole32.lib
DLL Ole32.dll

See Also

CoFreeLibrary

CoFreeUnusedLibraries

CoFreeUnusedLibrariesEx

CoLoadLibrary