Ole32CoFreeUnusedLibrariesEx Method
Unloads any DLLs that are no longer in use and whose unload delay has expired.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll", SetLastError = true)]
public static void CoFreeUnusedLibrariesEx(
uint unloadDelay,
uint reserved = 0
)
<DllImportAttribute("Ole32.dll", SetLastError := true>]
Public Shared Sub CoFreeUnusedLibrariesEx (
unloadDelay As UInteger,
Optional reserved As UInteger = 0
)
Dim unloadDelay As UInteger
Dim reserved As UInteger
Ole32.CoFreeUnusedLibrariesEx(unloadDelay,
reserved)
public:
[DllImportAttribute(L"Ole32.dll", SetLastError = true)]
static void CoFreeUnusedLibrariesEx(
unsigned int unloadDelay,
unsigned int reserved = 0
)
[<DllImportAttribute("Ole32.dll", SetLastError = true)>]
static member CoFreeUnusedLibrariesEx :
unloadDelay : uint32 *
?reserved : uint32
(* Defaults:
let _reserved = defaultArg reserved 0
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- unloadDelay UInt32
-
The delay in milliseconds between the time that the DLL has stated it can be unloaded until it becomes a candidate to unload.
Setting this parameter to INFINITE (-1) uses the system default delay (10 minutes).
Setting this parameter to 0 forces the unloading of any DLLs without any delay.
- reserved UInt32 (Optional)
-
This parameter is reserved and must be 0.