Previous Next

IRP_MJ_POWER

All drivers must be prepared to service IRP_MJ_POWER requests in a DispatchPower routine.

When Sent

The Power Manager or a driver can send IRP_MJ_POWER requests at any time the operating system is running.

Input Parameters

Depends on the value at MinorFunction in the current I/O stack location of the IRP. Every IRP_MJ_POWER request specifies a minor function code that identifies the requested power action.

Output Parameters

Depends on the value at MinorFunction in the current I/O stack location of the IRP.

Operation

See Power Management Minor IRPs for detailed information about IRP_MJ_POWER requests.