DispatchSystemControl Routines

A driver's DispatchSystemControl routine handles IRPs for the IRP_MJ_SYSTEM_CONTROL I/O function code.

All drivers must provide a DispatchSystemControl routine. The purpose of this routine is to provide support for Windows Management Instrumentation (WMI). Regardless of whether a driver supports WMI, this routine must pass the IRP to the next-lower driver.

To learn how to implement a DispatchSystemControl routine, and how to support WMI in general, see Windows Management Instrumentation.