[The CWbemProviderGlue class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The FrameworkLogoffDLL method is called by DllCanUnloadNow to determine whether the provider server is not in use and can be unloaded.
BOOL FrameworkLogoffDLL( LPCWSTR name );
Name of the server that is unloaded.
The method returns TRUE if the server is not in use and can be unloaded and FALSE if the server is still in use and cannot be unloaded.
For now, FrameworkLogoffDLL returns FALSE until the refcount for CWbemProviderGlue is zero. This approach prevents unloading any client DLL while instances of CWbemProviderGlue still exist.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||wbemglue.h (include FwCommon.h)|