Export (0) Print
Expand All
COM
Expand Minimize

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(void);

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]

Header

Objbase.h

Library

Ole32.lib

DLL

Ole32.dll

See also

CoFreeLibrary
CoFreeUnusedLibraries
CoFreeUnusedLibrariesEx
CoLoadLibrary

 

 

Community Additions

ADD
Show:
© 2014 Microsoft