Chapter 5. Developing Class Schemas

In order to manage a product using WMI, we must provide a way of exposing its manageable features to the outside world. To achieve this, the DMTF designed the Common Information Model, which provides a context for the interaction between data consumer and data provider. All discussions so far have assumed that the information a managed object (i.e., a hardware device or software application) wishes to supply is already defined in the CIM schema or Win32 extended schema by existing classes or association. What happens, however, if there are no classes in the CIM schema or Win32 extended schema that represent your product?

In such a case, you are required to design and implement your own classes, methods, and associations. ...

Get Developing WMI Solutions: A Guide to Windows Management Instrumentation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.