WMI Minor IRPs
This section describes the Windows Management Instrumentation IRPs that are part of the WMI extensions to WDM. All WMI IRPs use the major code IRP_MJ_SYSTEM_CONTROL and a minor code that indicates the specific WMI request. The WMI kernel-mode component can send WMI IRPs any time following a driver's successful registration as a supplier of WMI data. WMI IRPs typically get sent when a user-mode data consumer has requested WMI data.
All drivers must set a dispatch table entry point for a DispatchSystemControl routine to handle WMI requests.
If a driver registers as a WMI data provider by calling IoWMIRegistrationControl, it must handle WMI IRPs using one of the techniques described in Handling WMI Requests.
Drivers that do not register as WMI data providers must forward all WMI requests to the next-lower driver.
This section describes the following system-defined WMI minor function codes:
If the driver receives an IRP containing any other IRP minor function code, it should forward the IRP to the next-lower driver.