Skip to content

Latest commit

 

History

History
80 lines (66 loc) · 4.03 KB

nf-wbemglue-cwbemproviderglue-frameworklogoffdll(lpcwstr_plong).md

File metadata and controls

80 lines (66 loc) · 4.03 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wbemglue.CWbemProviderGlue.FrameworkLogoffDLL(LPCWSTR,PLONG)
CWbemProviderGlue::FrameworkLogoffDLL(LPCWSTR,PLONG) (wbemglue.h)
The FrameworkLogoffDLL method is called by DllCanUnloadNow to determine whether the provider server is not in use and can be unloaded. (overload 2/2)
?FrameworkLogoffDLL@CWbemProviderGlue@@SAHPEBG@Z
?FrameworkLogoffDLL@CWbemProviderGlue@@SGHPBG@Z
CWbemProviderGlue interface [Windows Management Instrumentation]
FrameworkLogoffDLL method
CWbemProviderGlue.FrameworkLogoffDLL
CWbemProviderGlue.FrameworkLogoffDLL(LPCWSTR
PLONG)
CWbemProviderGlue::FrameworkLogoffDLL
CWbemProviderGlue::FrameworkLogoffDLL(LPCWSTR
PLONG)
FrameworkLogoffDLL
FrameworkLogoffDLL method [Windows Management Instrumentation]
FrameworkLogoffDLL method [Windows Management Instrumentation]
CWbemProviderGlue interface
_hmm_cwbemproviderglue_frameworklogoffdll
wbemglue/CWbemProviderGlue::FrameworkLogoffDLL
wmi.cwbemproviderglue_frameworklogoffdll
wmi\cwbemproviderglue_frameworklogoffdll.htm
wmi
5157d823-d3a1-46d2-8ae8-07e904001a14
12/05/2018
?FrameworkLogoffDLL@CWbemProviderGlue@@SAHPEBG@Z, ?FrameworkLogoffDLL@CWbemProviderGlue@@SGHPBG@Z, CWbemProviderGlue interface [Windows Management Instrumentation],FrameworkLogoffDLL method, CWbemProviderGlue.FrameworkLogoffDLL, CWbemProviderGlue.FrameworkLogoffDLL(LPCWSTR,PLONG), CWbemProviderGlue::FrameworkLogoffDLL, CWbemProviderGlue::FrameworkLogoffDLL(LPCWSTR,PLONG), FrameworkLogoffDLL, FrameworkLogoffDLL method [Windows Management Instrumentation], FrameworkLogoffDLL method [Windows Management Instrumentation],CWbemProviderGlue interface, _hmm_cwbemproviderglue_frameworklogoffdll, wbemglue/CWbemProviderGlue::FrameworkLogoffDLL, wmi.cwbemproviderglue_frameworklogoffdll
wbemglue.h
FwCommon.h
Windows
Windows Vista
Windows Server 2008
FrameDyn.lib
FrameDynOS.dll; FrameDyn.dll
Windows
19H1
CWbemProviderGlue::FrameworkLogoffDLL
wbemglue/CWbemProviderGlue::FrameworkLogoffDLL
c++
APIRef
kbSyntax
COM
FrameDynOS.dll
FrameDyn.dll
CWbemProviderGlue.FrameworkLogoffDLL
?FrameworkLogoffDLL@CWbemProviderGlue@@SAHPEBG@Z
?FrameworkLogoffDLL@CWbemProviderGlue@@SGHPBG@Z

CWbemProviderGlue::FrameworkLogoffDLL(LPCWSTR,PLONG)

-description

[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.

-parameters

-param name

Name of the server that is unloaded.

-param plRefCount

The current reference count. This LONG must be the same one used in FrameworkLoginDLL and as the parameter to the CWbemGlueFactory constructor.

-returns

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.

-remarks

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.