The WMI kernel-mode component sends IRP_MJ_SYSTEM_CONTROL requests after I8042prt has registered the mouse device as a supplier of WMI data. WMI IRPs typically are sent when a user-mode data consumer requests WMI data.
Request-specific.
Request-specific.
Request-specific.
Defined in wdm.h and ntddk.h. Include wdm.h or ntddk.h.
I8042prt calls WmiSystemControl to process WMI requests.
I8042prt registers with WMI a POINTER_PORT_WMI_STD_DATA structure (declared in wmidata.h):
typedef struct _POINTER_PORT_WMI_STD_DATA
{
ULONG ConnectorType;
ULONG DataQueueSize;
ULONG ErrorCount;
ULONG Buttons;
ULONG HardwareType;
} POINTER_PORT_WMI_STD_DATA, *PPOINTER_PORT_WMI_STD_DATA;
If I8042prt does not handle the request, it skips the current IRP stack location, and sends the request down the device stack to be completed by a lower-level driver.
DpWmiQueryReginfo, DpWmiQueryDataBlock, DpWmiSetDataBlock, DpWmiSetDataItem, IRP_MJ_SYSTEM_CONTROL