Provider Framework Classes

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

Framework class Description
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.