An invention is disclosed that provides a set of common software routines
that may be accessed by device drivers in support of the Windows
Management Instrumentation system. The set of common routines includes
typical routines that would ordinarily be executed by device drivers
designed in accordance with WMI. The common routines may reside in a
library, dynamically accessible by the device drivers. When a device
driver receives a message from the WMI system, the device driver may pass
the message to the library to be handled in a common manner. In this
manner, the developers of device drivers in accordance with the WMI
system need only develop so much code as is necessary to support any
unique features or data storage of its associated hardware. The result is
shortened development time and fewer programming errors. In addition, the
overall system performance may be improved because fewer instances of
similar code are loaded in memory to support the WMI system.