CWbemProviderGlue class

[The CWbemProviderGlue class is part of the WMI Provider Framework, which is no longer available for use as of Windows Vista. Instead, see Using WMI for the preferred ways to write a WMI COM provider or a WMI provider that uses the .NET Framework System.Management namespaces.]

CWbemProviderGlue ties the Component Object Model (COM) interfaces of the Windows Management Instrumentation (WMI) API to the classes derived from the Provider class, and supplies methods for providers to use to query each other. It is not expected that provider writers ever derive from this class, or create instances of this class. Typically, the provider writer uses the static methods listed here to retrieve information from WMI. The CWbemProviderGlue is a COM interface, and it relies on COM security for interprocess communication. For more information, see Setting the Security Levels on a WMI Connection and Setting the Security on IWbemServices and Other Proxies.

CWbemProviderGlue has these types of members:

Methods

The CWbemProviderGlue class has these methods.

MethodDescription
FrameworkLoginDLL

Called when the DLL_PROCESS_ATTACH value is sent to DllMain to determine whether the provider server can be loaded.

FrameworkLogoffDLL

Called by DllCanUnloadNow to determine whether the provider server is not in use and can be unloaded.

GetAllDerivedInstances

Retrieves a list of instances derived from a particular base class.

GetAllDerivedInstancesAsynch

Retrieves a list of instances supported by a particular provider and derived from a particular base class. Returns one instance at a time.

GetAllInstances

Retrieves a list of instances supported by a particular provider.

GetAllInstancesAsynch

Retrieves a list of instances supported by a particular provider. Returns one instance at a time.

GetEmptyInstance Overloaded.

Retrieves a single instance from a particular provider.

GetInstanceByPath

Retrieves the instance identified by a particular object path.

GetInstanceKeysByPath

Retrieves the instance identified by a particular object path, with only the key properties populated.

GetInstancePropertiesByPath

Retrieves the instance identified by a particular object path, with only the specified properties populated.

GetInstancesByQuery

Retrieves a list of instances that match a particular query.

GetInstancesByQueryAsynch

Retrieves a list of instances supported by a particular provider that match a particular query. Returns one instance at a time.

GetNamespaceConnection

Retrieves a namespace connection.

IsDerivedFrom

Determines whether one class is derived from another.

SetStatusObject

Sets the parameters of a status object which is used to supply more information when an error occurs.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of client support

None supported

End of server support

Windows Server 2003

Header

WbemGlue.h (include FwCommon.h)

Library

Framedyn.lib

DLL

Framedyn.dll

 

 

Show:
© 2014 Microsoft