Condividi tramite


IRP_MJ_POWER (Mouclass)

The IRP_MJ_POWER request controls power management.

When Sent

The power manager and Mouclass send IRP_MJ_POWER requests to control the power state of a mouse device.

Input Parameters

Request-specific.

Output Parameters

Request-specific.

I/O Status Block

Under Normal operation the status block values are request-specific. If a power request is sent in error to a grandmaster device or a legacy device, Mouclass completes the request with a status of STATUS_NOT_SUPPORTED.

Operation

Mouclass is the power policy owner for a mouse. It sends IRP_MN_SET_POWER requests down the device stack to set device power state. If wait/wake capability is enabled, Mouclass sends an IRP_MN_WAIT_WAKE request down the device stack.

For all other power requests, Mouclass copies the current IRP stack location, requests the next power request, and sends the request down the device stack.

For more information about the generic operation of these requests, see Handling Power IRPs.

Requirements

Header

Ntddk.h (include Wdm.h, Ntddk.h, or Wdm.h)

See also

IRP_MJ_POWER

 

 

Send comments about this topic to Microsoft