[This is preliminary documentation and subject to change.]
Windows Management Instrumentation (WMI) is a set of extensions to the Windows Driver Model (WDM) that provides an operating system interface through which components can provide information and notification. The WMI Provider is modeled as a Push provider. All of its data is maintained by CIMOM in the CIMOM repository.
To register the WMI Provider, create instances of the following system classes:
instance of __Win32Provider as $P
{
Name = "WMIProv";
ClsId = "{D2D588B5-D081-11d0-99E0-00C04FC2F8EC}" ;
};
instance of __InstanceProviderRegistration
{
Provider = $P;
SupportsGet = "TRUE";
SupportsPut = "TRUE";
SupportsEnumeration = "TRUE";
SupportsDelete = "FALSE";
};
instance of __MethodProviderRegistration
{
Provider = $P;
};
instance of __Win32Provider as $P1
{
Name = "WMIEventProv";
ClsId = "{0725C3CB-FEFB-11d0-99F9-00C04FC2F8EC}";
};
class WMIEvent : __ExtrinsicEvent
{
};
instance of __Win32EventProviderRegistration
{
Provider = $P1;
EventQueryList = {"select * from WMIEvent"};
};
instance of __Win32ClassProviderRegistration
{
Provider = $P;
InteractionType = 1;
ResultSetQueries={"select * from meta_class"};
ReferencedSetQueries={"select * from meta_class"};
UnsupportedQueries=NULL;
SupportsDelete = "FALSE";
};