Developing WMI Solutions: A Guide to Windows Management Instrumentation
by Craig Tunstall, Gwyn Cole
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access