Tells Windows whether it can unload the in-process server exporting this function.
function DllCanUnloadNow: HResult; stdcall;
__stdcall HRESULT DllCanUnloadNow();
ComServ
Do not call DllCanUnloadNow directly. DllCanUnloadNow is exported by ActiveX servers (DLLs) and is called by the operating system to indicate whether the server can be unloaded from memory because it is no longer in use. A DLL is no longer in use when it is not managing any existing objects (the reference count on all of its objects is 0).
The return values for DllCanUnloadNow are as follows:
Value |
Meaning |
S_OK |
The DLL can be unloaded. |
S_FALSE |
The DLL cannot be unloaded now. |
DllGetClassObject
DllRegisterServer
DllUnregisterServer
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|