Export (0) Print
Expand All

Provider Framework Classes

[WMI C++ classes that are part of the WMI Provider Framework are 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.]

The provider framework implements the following classes.

Framework classDescription
CFrameworkQuery Contains methods for query processing.
CInstance Contains methods to set and retrieve properties and is an encapsulation of the IWbemClassObject interface. Implementer should not have to access IWbemClassObject methods directly.
CThreadBase A base class that supplies the internal thread safety mechanisms for the WMI Provider Framework.
CWbemGlueFactory Part of the WMI Provider Framework. The Provider Framework implements methods of this interface internally to create new instances of classes for the provider.
CWbemProviderGlue Implements IWbemProviderInit and methods that control the loading and unloading of the framework provider.
Provider Contains helper functions and provides default implementations of the methods of IWbemServices.

 

Note that many of the framework methods use CHString parameters. CHString supports many of the same methods and properties as the Microsoft Foundation Classes (MFC), but without the overhead of MFC. For more information about CHString, see CHString Class Reference.

 

 

Show:
© 2014 Microsoft