Desktop Functions: Smart Device Functions:
|
CoFreeUnusedLibrariesEx (ole32)
Unloads any DLLs that are no longer in use and whose unload delay has expired.
unloadDelay - The delay in milliseconds between the time that the DLL C# Signature:
[DllImport("ole32.dll")] VB Signature:
Declare Function CoFreeUnusedLibrariesEx Lib "ole32.dll" (TODO) As TODO User-Defined Types:None. Alternative Managed API:Do you know one? Please contribute it! Notes:Setting the delay too short (or zero) can have unintended consequences, as some DLL's will return control before they have finished cleaning up resources, or they will continue executing in the background. Tips & Tricks:Please add some! Sample Code:public static void FreeDllsNow(UInt32 pause) {
try } Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|