I am implementing WMI support in my driver. I am going through the msdn doc and found one statement that "All drivers must support any standard WMI data blocks that WMI defines for their device class. These WMI data blocks are defined in Wmicore.mof."
Below mof file is enough for me to get all the details. Here what kind of standard WMI data block can I add?
Kindly provide some examples and explain.
Thanks in advance!
This is my mof file:
Description("Sensor driver stability information"),
[read] boolean Active; [WmiDataId(1), read, Description("This indicates the number of resets triggered by driver")] uint32 ResetCount; [WmiDataId(2), read, Description("This indicates the number of crashes")] uint32 CrashCount; [WmiDataId(3), read, Description("This indicates the number of surprise removals")] uint32 SurpriseRemovalCount; [WmiDataId(4), read, Description("The Model Name.")] string ModelName;